Permalink
Browse files

@Define HAVE_CONFIG_H when building standalone DSO extensions (Stig)

  • Loading branch information...
1 parent fcfbb0c commit 83b18832aa9f252a8f9f47536867a982d143e030 Stig Bakken committed May 20, 2001
Showing with 2 additions and 1 deletion.
  1. +2 −1 pear/pear.m4
View
3 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)'

0 comments on commit 83b1883

Please sign in to comment.