From: Sriram Natarajan Date: Wed, 16 Dec 2009 20:49:08 +0000 (+0000) Subject: - Fixed bug #50496 (Use of is valid only in a c99 compilation environment.) X-Git-Tag: php-5.4.0alpha1~191^2~2202 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=078ecd5f37a138e9bd49d986eb7f3270db9dee81;p=php - Fixed bug #50496 (Use of is valid only in a c99 compilation environment.) --- diff --git a/configure.in b/configure.in index 2cf7c7b4e3..8c1870a3f8 100644 --- a/configure.in +++ b/configure.in @@ -204,9 +204,13 @@ case $host_cpu in ;; sparc*) if test "$SUNCC" = "yes"; then - CFLAGS="$CFLAGS -xmemalign=8s" + CFLAGS="$CFLAGS -xc99=all -xmemalign=8s" fi ;; + i386) + if test "$SUNCC" = "yes"; then + CFLAGS="$CFLAGS -xc99=all" + fi esac dnl activate some gcc specific optimizations for gcc >= 4