Only suppress including dlfcn.h when we are in PHP.

This commit is contained in:
Sascha Schumann 2000-01-12 19:56:12 +00:00
parent bf7b292db9
commit c658fc5cbd

View file

@ -788,12 +788,12 @@ fi
# #
if test -d TSRM; then if test -d TSRM; then
echo '#include "../php_config.h"' > TSRM/tsrm-config.h echo '#include "../php_config.h"' > TSRM/tsrm_config.h
fi fi
cat >Zend/zend_config.h <<FEO cat >Zend/zend_config.h <<FEO
#include "../php_config.h" #include "../php_config.h"
#ifdef APACHE #if defined(APACHE) && defined(PHP_API_VERSION)
#undef HAVE_DLFCN_H #undef HAVE_DLFCN_H
#endif #endif
FEO FEO