From: Antony Dovgal Date: Tue, 29 Jul 2008 08:33:52 +0000 (+0000) Subject: this shouldn't have been backported X-Git-Tag: php-5.2.7RC1~167 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=635ce992a64055097af7aaed6117059d4c2b3c5f;p=php this shouldn't have been backported --- diff --git a/configure.in b/configure.in index a0f1684155..202c802fb6 100644 --- a/configure.in +++ b/configure.in @@ -189,21 +189,6 @@ case $host_cpu in ;; esac -dnl activate some gcc specific optimizations for gcc >= 4 -if test "$GCC" = "yes"; then - case $host_alias in - *darwin*) - GCC_MAJOR_VERSION=`$CC -dumpversion | /usr/bin/sed -nE '1s/([[0-9]]+)\.[[0-9]]+\..*/\1/;1p'` - ;; - *) - GCC_MAJOR_VERSION=`$CC --version | $SED -n '1s/[[^0-9]]*//;1s/\..*//;1p'` - ;; - esac - if test $GCC_MAJOR_VERSION -ge 4; then - CFLAGS="$CFLAGS -fvisibility=hidden" - fi -fi - case $host_alias in *solaris*) CPPFLAGS="$CPPFLAGS -D_POSIX_PTHREAD_SEMANTICS"