cvs: /php4 configure.in
| From: | Sascha Schumann | Date: | Wed, 22 Dec 1999 21:03:02 +0000 |
| Subject: | cvs: /php4 configure.in | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-8407@lists.php.net to get a copy of this message | ||
sas Wed Dec 22 16:03:02 1999 EDT
Modified files:
/php4 configure.in
Log:
Limit _POSIX_PTHREAD_SEMANTICS to Solaris, and stop appending -O2. This
is automatically done by autoconf's AC_PROG_CC.
Index: php4/configure.in
diff -u php4/configure.in:1.76 php4/configure.in:1.77
--- php4/configure.in:1.76 Tue Dec 21 13:04:31 1999
+++ php4/configure.in Wed Dec 22 16:02:31 1999
@@ -1,4 +1,4 @@
-dnl ## $Id: configure.in,v 1.76 1999/12/21 18:04:31 sas Exp $ -*- sh -*-
+dnl ## $Id: configure.in,v 1.77 1999/12/22 21:02:31 sas Exp $ -*- sh -*-
dnl ## Process this file with autoconf to produce a configure script.
divert(0)
@@ -685,10 +685,12 @@
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