]> granicus.if.org Git - php/commitdiff
- Fixed bug #50496 (Use of <stdbool.h> is valid only in a c99 compilation environment.)
authorSriram Natarajan <srinatar@php.net>
Wed, 16 Dec 2009 20:49:08 +0000 (20:49 +0000)
committerSriram Natarajan <srinatar@php.net>
Wed, 16 Dec 2009 20:49:08 +0000 (20:49 +0000)
configure.in

index 2cf7c7b4e39f593633e95664f35cf1b789315821..8c1870a3f8498d67c110fe48bd67114092d8d948 100644 (file)
@@ -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