cvs: /php4 configure.in
| From: | Sascha Schumann | Date: | Fri, 26 Nov 1999 21:46:27 +0000 |
| Subject: | cvs: /php4 configure.in | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-6954@lists.php.net to get a copy of this message | ||
sas Fri Nov 26 16:46:27 1999 EDT
Modified files:
/php4 configure.in
Log:
Enable _POSIX_THREAD_SEMANTICS for all configurations testwise
Index: php4/configure.in
diff -u php4/configure.in:1.42 php4/configure.in:1.43
--- php4/configure.in:1.42 Fri Nov 26 12:33:53 1999
+++ php4/configure.in Fri Nov 26 16:45:57 1999
@@ -1,4 +1,4 @@
-dnl ## $Id: configure.in,v 1.42 1999/11/26 17:33:53 sas Exp $ -*- sh -*-
+dnl ## $Id: configure.in,v 1.43 1999/11/26 21:45:57 sas Exp $ -*- sh -*-
dnl ## Process this file with autoconf to produce a configure script.
divert(0)
@@ -641,13 +641,15 @@
AC_MSG_CHECKING(whether to build PHP thread-safe)
+CPPFLAGS="$CPPFLAGS -D_POSIX_PTHREAD_SEMANTICS"
+export CPPFLAGS
+
if test "$enable_thread_safety" = "yes"; then
TSRM_LIB='TSRM/libtsrm.la'
TSRM_DIR=TSRM
AC_DEFINE(ZTS)
+ CPPFLAGS="$CPPFLAGS -D_REENTRANT"
INCLUDES="$INCLUDES -I\$(top_builddir)/TSRM -I\$(top_srcdir)/TSRM"
- CPPFLAGS="$CPPFLAGS -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS"
- export CPPFLAGS
else
enable_thread_safety=no
fi