]> granicus.if.org Git - php/commitdiff
Improve APXS_CFLAGS checks
authorSascha Schumann <sas@php.net>
Thu, 24 Feb 2000 13:43:28 +0000 (13:43 +0000)
committerSascha Schumann <sas@php.net>
Thu, 24 Feb 2000 13:43:28 +0000 (13:43 +0000)
sapi/apache/config.m4

index ab5ea404da5ba3e6307ed3a463d5bead2a34af27..6d29b8c9506ea153d49fe80bfc4227bb11ee7786 100644 (file)
@@ -24,10 +24,10 @@ AC_ARG_WITH(apxs,
        APXS_INCLUDEDIR=`$APXS -q INCLUDEDIR`
        APXS_CFLAGS=`$APXS -q CFLAGS`
        AC_ADD_INCLUDE($APXS_INCLUDEDIR)
-       if test -n "`echo $APXS_CFLAGS | grep USE_HSREGEX >/dev/null`"; then
+       if `echo $APXS_CFLAGS|grep USE_HSREGEX>/dev/null`; then
                APACHE_HAS_REGEX=yes
        fi
-       if test -n "`echo $APXS_CFLAGS | grep EAPI >/dev/null`"; then
+       if `echo $APXS_CFLAGS|grep EAPI>/dev/null`; then
           CPPFLAGS="$CPPFLAGS -DUSE_EAPI"
        fi
        PHP_SAPI=apache