svn: /php/php-src/ branches/PHP_5_3/NEWS branches/PHP_5_3/configure.in trunk/configure.in
| From: | Sriram Natarajan | Date: | Wed, 16 Dec 2009 20:49:08 +0000 |
| Subject: | svn: /php/php-src/ branches/PHP_5_3/NEWS branches/PHP_5_3/configure.in trunk/configure.in | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-61333@lists.php.net to get a copy of this message | ||
srinatar Wed, 16 Dec 2009 20:49:08 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=292222
Log:
- Fixed bug #50496 (Use of <stdbool.h> is valid only in a c99 compilation environment.)
Bug: http://bugs.php.net/50496 (Assigned) Use of
<stdbool.h> is valid only in a c99 compilation environment.
Changed paths:
U php/php-src/branches/PHP_5_3/NEWS
U php/php-src/branches/PHP_5_3/configure.in
U php/php-src/trunk/configure.in
Modified: php/php-src/branches/PHP_5_3/NEWS
===================================================================
--- php/php-src/branches/PHP_5_3/NEWS 2009-12-16 20:01:00 UTC (rev 292221)
+++ php/php-src/branches/PHP_5_3/NEWS 2009-12-16 20:49:08 UTC (rev 292222)
@@ -9,6 +9,8 @@
- Changed "post_max_size" php.ini directive to allow unlimited post size by
setting it to 0. (Rasmus)
+- Fixed bug #50496 (Use of <stdbool.h> is valid only in a c99 compilation
+ environment. (Sriram)
- Added support for SHA-256 and SHA-512 to php's crypt. (Pierre)
- Added realpath_cache_size() and realpath_cache_get() functions. (Stas)
- Added FILTER_FLAG_STRIP_BACKTICK option to the filter extension. (Ilia)
Modified: php/php-src/branches/PHP_5_3/configure.in
===================================================================
--- php/php-src/branches/PHP_5_3/configure.in 2009-12-16 20:01:00 UTC (rev 292221)
+++ php/php-src/branches/PHP_5_3/configure.in 2009-12-16 20:49:08 UTC (rev 292222)
@@ -202,9 +202,14 @@
;;
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
Modified: php/php-src/trunk/configure.in
===================================================================
--- php/php-src/trunk/configure.in 2009-12-16 20:01:00 UTC (rev 292221)
+++ php/php-src/trunk/configure.in 2009-12-16 20:49:08 UTC (rev 292222)
@@ -204,9 +204,13 @@
;;
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