diff options
| author | Sascha Schumann <sas@php.net> | 1999-12-03 15:12:20 +0000 |
|---|---|---|
| committer | Sascha Schumann <sas@php.net> | 1999-12-03 15:12:20 +0000 |
| commit | f19426e4120592384506d2b2c9520918e394cc76 (patch) | |
| tree | c85228dea0e0c8f4346481e421c0f638c16123be | |
| parent | 7c209d774c2ed77ccc19ac43f0c074e39235df94 (diff) | |
| download | php-git-f19426e4120592384506d2b2c9520918e394cc76.tar.gz | |
Solaris needs -D_REENTRANT to define prototypes for localtime_r etc.
| -rw-r--r-- | configure.in | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/configure.in b/configure.in index 16bdd78582..491060df9d 100644 --- a/configure.in +++ b/configure.in @@ -684,7 +684,7 @@ PHP_REGEX 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 @@ if test "$PHP_THREAD_SAFETY" = "yes" || test "$PHP_EXPERIMENTAL_ZTS" = "yes"; th 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 |
