diff options
| author | Sascha Schumann <sas@php.net> | 2000-02-24 13:43:28 +0000 |
|---|---|---|
| committer | Sascha Schumann <sas@php.net> | 2000-02-24 13:43:28 +0000 |
| commit | 59d1066525a92b0228fe66aea9e8d029e74bb6c4 (patch) | |
| tree | 4a7497e6d30756ea9bb8570d41183b93844c4688 | |
| parent | 4a37c618e6253171f0183131e41d4925a61287f7 (diff) | |
| download | php-git-59d1066525a92b0228fe66aea9e8d029e74bb6c4.tar.gz | |
Improve APXS_CFLAGS checks
| -rw-r--r-- | sapi/apache/config.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sapi/apache/config.m4 b/sapi/apache/config.m4 index ab5ea404da..6d29b8c950 100644 --- a/sapi/apache/config.m4 +++ b/sapi/apache/config.m4 @@ -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 |
