cvs: php4(PHP_4_2_0) / configure.in

From: Date: Wed, 04 Sep 2002 18:17:42 +0000
Subject: cvs: php4(PHP_4_2_0) / configure.in
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-13833@lists.php.net to get a copy of this message
sniper Wed Sep 4 14:17:42 2002 EDT Modified files: (Branch: PHP_4_2_0) /php4 configure.in Log: MFH: Fix the missing libgcc problems. Index: php4/configure.in diff -u php4/configure.in:1.302.2.36 php4/configure.in:1.302.2.37 --- php4/configure.in:1.302.2.36 Mon Sep 2 11:28:25 2002 +++ php4/configure.in Wed Sep 4 14:17:41 2002 @@ -1,4 +1,4 @@ -dnl ## $Id: configure.in,v 1.302.2.36 2002/09/02 15:28:25 zeev Exp $ -*- sh -*- +dnl ## $Id: configure.in,v 1.302.2.37 2002/09/04 18:17:41 sniper Exp $ -*- sh -*- dnl ## Process this file with autoconf to produce a configure script. divert(1) @@ -70,40 +70,6 @@ AC_MSG_ERROR([--with-apache and --with-apxs cannot be used together]) 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 - -BSD_MAKEFILE=no - -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 -traditional-cpp";; -*bsdi*) - BSD_MAKEFILE=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 ------------------------------------------------------------------------- @@ -194,6 +160,36 @@ 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 + +BSD_MAKEFILE=no + +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 -traditional-cpp";; +*bsdi*) + BSD_MAKEFILE=yes;; +*beos*) + beos_threads=1 + LIBS="$LIBS -lbe -lroot";; +*mips*) + CPPFLAGS="$CPPFLAGS -D_XPG_IV";; +esac dnl Include Zend and TSRM configurations.

« previous php.cvs (#13833) next »