From: Stig Bakken Date: Sun, 20 May 2001 05:29:54 +0000 (+0000) Subject: @Define HAVE_CONFIG_H when building standalone DSO extensions (Stig) X-Git-Tag: PRE_GRANULAR_GARBAGE_FIX~331 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=83b18832aa9f252a8f9f47536867a982d143e030;p=php @Define HAVE_CONFIG_H when building standalone DSO extensions (Stig) --- diff --git a/pear/pear.m4 b/pear/pear.m4 index f84ce68564..92ec102bb6 100644 --- a/pear/pear.m4 +++ b/pear/pear.m4 @@ -3,7 +3,7 @@ AC_INIT(Makefile.in) AC_DEFUN(PHP_WITH_PHP_CONFIG,[ AC_ARG_WITH(php-config, -[ --with-php-config=[PATH]],[ +[ --with-php-config=PATH],[ PHP_CONFIG=$withval ],[ PHP_CONFIG=php-config @@ -45,6 +45,7 @@ AC_PROG_LIBTOOL SHARED_LIBTOOL='$(LIBTOOL)' PHP_COMPILE='$(LIBTOOL) --mode=compile $(COMPILE) -c $<' phplibdir="`pwd`/modules" +CPPFLAGS="$CPPFLAGS -DHAVE_CONFIG_H" test "$prefix" = "NONE" && prefix="/usr/local" test "$exec_prefix" = "NONE" && exec_prefix='$(prefix)'