From: Sascha Schumann Date: Wed, 12 Jan 2000 19:44:35 +0000 (+0000) Subject: Avoid including dlfcn.h, if we are compiling as an Apache module. X-Git-Tag: BEFORE_PRE_SHUTDOWN_REVERSE_PATCH~36 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=da67577ed35f7edaac383952d1c8438c8e632eaf;p=php Avoid including dlfcn.h, if we are compiling as an Apache module. --- diff --git a/configure.in b/configure.in index fee52bf8b8..760f9794b1 100644 --- a/configure.in +++ b/configure.in @@ -95,6 +95,7 @@ fi dnl ## there has to be a better way... dnl## OLDLIBS=$LIBS; LIBS="" AC_PROG_CC +AC_AIX dnl## LIBS=$OLDLIBS AM_PROG_CC_STDC @@ -782,8 +783,20 @@ if test ! -f $srcdir/ext/bcmath/number.c; then echo "/* Dummy File */" > $srcdir/ext/bcmath/number.h fi -test -d TSRM && echo '#include "../php_config.h"' > TSRM/tsrm_config.h -echo '#include "../php_config.h"' > Zend/zend_config.h +################################################################ +# Create configuration headers +# + +if test -d TSRM; then + echo '#include "../php_config.h"' > TSRM/tsrm-config.h +fi + +cat >Zend/zend_config.h <