It's necessary to pick up EXTRA_CFLAGS and friends when building against
httpd-2.0 HEAD due to LFS support in APR.

Index: sapi/apache2handler/config.m4
===================================================================
RCS file: /repository/php-src/sapi/apache2handler/config.m4,v
retrieving revision 1.1.2.7
diff -u -r1.1.2.7 config.m4
--- sapi/apache2handler/config.m4       16 Jul 2003 05:46:46 -0000      1.1.2.7
+++ sapi/apache2handler/config.m4       22 Apr 2004 20:46:58 -0000
@@ -34,7 +34,10 @@
   APXS_INCLUDEDIR=`$APXS -q INCLUDEDIR`
   APXS_BINDIR=`$APXS -q BINDIR`
   APXS_HTTPD=`$APXS -q SBINDIR`/`$APXS -q TARGET`
-  APXS_CFLAGS=`$APXS -q CFLAGS`
+  APXS_CFLAGS=
+  for flag in CFLAGS EXTRA_CFLAGS EXTRA_CPPFLAGS NOTEST_CFLAGS; do
+    APXS_CFLAGS="$APXS_CFLAGS `$APXS -q $flag`"
+  done
   APXS_MPM=`$APXS -q MPM_NAME`
   APU_BINDIR=`$APXS -q APU_BINDIR`
   APR_BINDIR=`$APXS -q APR_BINDIR`

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

Reply via email to