1
0
mirror of https://github.com/php/php-src.git synced 2026-04-06 07:32:54 +02:00

Limit _POSIX_PTHREAD_SEMANTICS to Solaris, and stop appending -O2. This

is automatically done by autoconf's AC_PROG_CC.
This commit is contained in:
Sascha Schumann
1999-12-22 21:02:31 +00:00
parent 1601a2dac9
commit 23f92bfa20

View File

@@ -685,10 +685,12 @@ fi
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"
case "`uname -s`" in
SunOS*)
CPPFLAGS="$CPPFLAGS -D_POSIX_PTHREAD_SEMANTICS";;
esac
CPPFLAGS="$CPPFLAGS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT"
CPPFLAGS="$CPPFLAGS -D_REENTRANT"
LIBZEND_BASIC_CHECKS
LIBZEND_OTHER_CHECKS