cvs: php4 /sapi/apache config.m4
| From: | Hartmut Holzgraefe | Date: | Sat, 17 Jun 2000 06:22:40 +0000 |
| Subject: | cvs: php4 /sapi/apache config.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-321@lists.php.net to get a copy of this message | ||
hholzgra Fri Jun 16 23:22:40 2000 EDT
Modified files:
/php4/sapi/apache config.m4
Log:
look for apxs in /usr/sbin (that's where SUSE puts it)
if no path is given and apxs is not found in $PATH
Index: php4/sapi/apache/config.m4
diff -u php4/sapi/apache/config.m4:1.31 php4/sapi/apache/config.m4:1.32
--- php4/sapi/apache/config.m4:1.31 Tue Jun 13 11:02:28 2000
+++ php4/sapi/apache/config.m4 Fri Jun 16 23:22:40 2000
@@ -16,6 +16,13 @@
pathname to the Apache apxs tool; defaults to "apxs".],[
if test "$withval" = "yes"; then
APXS=apxs
+ if $APXS -q CFLAGS >/dev/null 2>&1; then
+ :
+ else
+ if test -x /usr/sbin/apxs ; then #SUSE 6.x
+ APXS=/usr/sbin/apxs
+ fi
+ fi
else
AC_EXPAND_PATH($withval, APXS)
fi