summaryrefslogtreecommitdiff
path: root/Zend
diff options
context:
space:
mode:
Diffstat (limited to 'Zend')
-rw-r--r--Zend/acconfig.h2
-rw-r--r--Zend/configure.in2
2 files changed, 4 insertions, 0 deletions
diff --git a/Zend/acconfig.h b/Zend/acconfig.h
index 01867fd204..76cb26f3f4 100644
--- a/Zend/acconfig.h
+++ b/Zend/acconfig.h
@@ -37,6 +37,8 @@
/* Define to compile Zend thread safe */
#undef ZTS
+#undef HAVE_LIBDL
+
@BOTTOM@
#ifdef HAVE_STDLIB_H
diff --git a/Zend/configure.in b/Zend/configure.in
index 1aa6b7b27a..c501c52e28 100644
--- a/Zend/configure.in
+++ b/Zend/configure.in
@@ -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