cvs: /php4 configure.in
| From: | Sascha Schumann | Date: | Fri, 03 Dec 1999 15:12:51 +0000 |
| Subject: | cvs: /php4 configure.in | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-7329@lists.php.net to get a copy of this message | ||
sas Fri Dec 3 10:12:51 1999 EDT
Modified files:
/php4 configure.in
Log:
Solaris needs -D_REENTRANT to define prototypes for localtime_r etc.
Index: php4/configure.in
diff -u php4/configure.in:1.51 php4/configure.in:1.52
--- php4/configure.in:1.51 Fri Dec 3 09:50:32 1999
+++ php4/configure.in Fri Dec 3 10:12:20 1999
@@ -1,4 +1,4 @@
-dnl ## $Id: configure.in,v 1.51 1999/12/03 14:50:32 sas Exp $ -*- sh -*-
+dnl ## $Id: configure.in,v 1.52 1999/12/03 15:12:20 sas Exp $ -*- sh -*-
dnl ## Process this file with autoconf to produce a configure script.
divert(0)
@@ -684,7 +684,7 @@
dnl If we are using gcc and the user has not specified CFLAGS, add -O2.
test -n "$auto_cflags" && test -n "$GCC" &&
CFLAGS="$CFLAGS -O2"
-CPPFLAGS="$CPPFLAGS -D_POSIX_PTHREAD_SEMANTICS"
+CPPFLAGS="$CPPFLAGS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT"
export CPPFLAGS
@@ -693,7 +693,6 @@
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"
PHP_THREAD_SAFETY=yes
else