cvs: /php4 configure.in

From: Date: Wed, 12 Jan 2000 19:45:05 +0000
Subject: cvs: /php4 configure.in
Groups: php.version4 
Request: Send a blank email to php-version4+get-9086@lists.php.net to get a copy of this message
sas Wed Jan 12 11:45:05 2000 EDT Modified files: /php4 configure.in Log: Avoid including dlfcn.h, if we are compiling as an Apache module. Index: php4/configure.in diff -u php4/configure.in:1.84 php4/configure.in:1.85 --- php4/configure.in:1.84 Fri Dec 31 18:22:00 1999 +++ php4/configure.in Wed Jan 12 11:44:35 2000 @@ -1,4 +1,4 @@ -dnl ## $Id: configure.in,v 1.84 2000/01/01 02:22:00 sas Exp $ -*- sh -*- +dnl ## $Id: configure.in,v 1.85 2000/01/12 19:44:35 sas Exp $ -*- sh -*- dnl ## Process this file with autoconf to produce a configure script. divert(1) @@ -95,6 +95,7 @@ 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 @@ 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 <<FEO +#include "../php_config.h" +#ifdef APACHE +#undef HAVE_DLFCN_H +#endif +FEO # run this only when generating all the files? if true; then

« previous php.version4 (#9086) next »