mirror of
https://github.com/php/php-src.git
synced 2024-09-21 09:57:23 +00:00
This should fix those solaris+gcc bugs when --enable-libgcc is not used
This commit is contained in:
parent
3177f1ca2a
commit
2fcd502522
57
configure.in
57
configure.in
@ -82,36 +82,6 @@ if test -n "$with_apache" && test -n "$with_apxs"; then
|
|||||||
fi
|
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 Settings we want to make before the checks.
|
||||||
dnl -------------------------------------------------------------------------
|
dnl -------------------------------------------------------------------------
|
||||||
|
|
||||||
@ -185,6 +155,33 @@ if test "$ac_cv_c_const" = "yes" ; then
|
|||||||
fi
|
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.
|
dnl Include Zend and TSRM configurations.
|
||||||
dnl -------------------------------------------------------------------------
|
dnl -------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user