Make sure HAVE_LIBDL gets defined.

Disable more C++ tests when not configured for thread safety.
This commit is contained in:
Stig S. Bakken 1999-09-13 11:29:44 +00:00
parent f858b6891c
commit af1e5ad881
2 changed files with 4 additions and 0 deletions

View File

@ -37,6 +37,8 @@
/* Define to compile Zend thread safe */
#undef ZTS
#undef HAVE_LIBDL
@BOTTOM@
#ifdef HAVE_STDLIB_H

View File

@ -65,10 +65,12 @@ AC_HEADER_STDC
dnl QNX requires unix.h to allow functions in libunix to work properly
AC_CHECK_HEADERS(limits.h malloc.h string.h unistd.h stdarg.h sys/types.h signal.h unix.h dlfcn.h)
if test "$enable_thread_safety" = "yes" ; then
dnl C++ specific header files
AC_LANG_CPLUSPLUS
AC_CHECK_HEADER(stdiostream.h, [ AC_DEFINE(HAVE_STDIOSTREAM_H) ])
AC_LANG_C
fi
dnl Checks for types
AC_TYPE_SIZE_T