cvs: php4 / configure.in
| From: | Jani Taskinen | Date: | Tue, 23 Jul 2002 01:58:02 +0000 |
| Subject: | cvs: php4 / configure.in | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-12943@lists.php.net to get a copy of this message | ||
sniper Mon Jul 22 21:58:02 2002 EDT
Modified files:
/php4 configure.in
Log:
This should fix those solaris+gcc bugs when --enable-libgcc is not used
Index: php4/configure.in
diff -u php4/configure.in:1.362 php4/configure.in:1.363
--- php4/configure.in:1.362 Fri Jul 19 21:28:56 2002
+++ php4/configure.in Mon Jul 22 21:58:02 2002
@@ -1,4 +1,4 @@
-dnl ## $Id: configure.in,v 1.362 2002/07/20 01:28:56 sas Exp $ -*- sh -*-
+dnl ## $Id: configure.in,v 1.363 2002/07/23 01:58:02 sniper Exp $ -*- sh -*-
dnl ## Process this file with autoconf to produce a configure script.
divert(1)
@@ -82,36 +82,6 @@
fi
-
-dnl Platform-specific compile settings.
-dnl -------------------------------------------------------------------------
-
-dnl if host_alias is empty, ac_cv_host_alias may still have the info
-if test -z "$host_alias"; then
- host_alias=$ac_cv_host_alias
-fi
-
-case $host_alias in
-*solaris*)
- CPPFLAGS="$CPPFLAGS -D_POSIX_PTHREAD_SEMANTICS"
- if test "${enable_libgcc+set}" != "set" && test "$GCC" =
"yes"; then
- enable_libgcc=yes
- fi
- ;;
-*dgux*)
- CPPFLAGS="$CPPFLAGS -D_BSD_TIMEOFDAY_FLAVOR";;
-*darwin*|*rhapsody*)
- CPPFLAGS="$CPPFLAGS -no-cpp-precomp"
- php_multiple_shlib_versions_ok=yes;;
-*beos*)
- beos_threads=1
- LIBS="$LIBS -lbe -lroot";;
-*mips*)
- CPPFLAGS="$CPPFLAGS -D_XPG_IV";;
-esac
-
-
-
dnl Settings we want to make before the checks.
dnl -------------------------------------------------------------------------
@@ -184,6 +154,33 @@
LEX_CFLAGS="-DYY_USE_CONST"
fi
+
+dnl Platform-specific compile settings.
+dnl -------------------------------------------------------------------------
+
+dnl if host_alias is empty, ac_cv_host_alias may still have the info
+if test -z "$host_alias"; then
+ host_alias=$ac_cv_host_alias
+fi
+
+case $host_alias in
+*solaris*)
+ CPPFLAGS="$CPPFLAGS -D_POSIX_PTHREAD_SEMANTICS"
+ if test "${enable_libgcc+set}" != "set" && test "$GCC" =
"yes"; then
+ enable_libgcc=yes
+ fi
+ ;;
+*dgux*)
+ CPPFLAGS="$CPPFLAGS -D_BSD_TIMEOFDAY_FLAVOR";;
+*darwin*|*rhapsody*)
+ CPPFLAGS="$CPPFLAGS -no-cpp-precomp"
+ php_multiple_shlib_versions_ok=yes;;
+*beos*)
+ beos_threads=1
+ LIBS="$LIBS -lbe -lroot";;
+*mips*)
+ CPPFLAGS="$CPPFLAGS -D_XPG_IV";;
+esac
dnl Include Zend and TSRM configurations.