]> granicus.if.org Git - php/commitdiff
this shouldn't have been backported
authorAntony Dovgal <tony2001@php.net>
Tue, 29 Jul 2008 08:33:52 +0000 (08:33 +0000)
committerAntony Dovgal <tony2001@php.net>
Tue, 29 Jul 2008 08:33:52 +0000 (08:33 +0000)
configure.in

index a0f16841555b7ae988d13bc933d1d29c9f3e027b..202c802fb6fdf5225fbe39adbf46395665827a24 100644 (file)
@@ -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"