Fix bug, which (this bug) prevents detect "is apxs know about -S
option?" properly.

Patch created around php-4.1.2 tarball.

--- sapi/apache/config.m4-      Tue Apr  9 19:09:05 2002
+++ sapi/apache/config.m4       Tue Apr  9 19:29:11 2002
@@ -41,7 +41,7 @@
   PHP_SAPI=apache
 
   # Test whether apxs support -S option
-  $APXS -q -S CFLAGS=$APXS_CFLAGS CFLAGS >/dev/null 2>&1
+  $APXS -q -S CFLAGS="$APXS_CFLAGS" CFLAGS >/dev/null 2>&1
 
   if test "$?" != "0"; then
     APACHE_INSTALL="$APXS -i -a -n php4 $SAPI_SHARED" # Old apxs does not have -S 
option

-- 
Andrew W. Nosenko    ([EMAIL PROTECTED])

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to