com php-src: Enable C99 in autoconf: configure.ac

From: Date: Mon, 11 Feb 2019 13:32:30 +0000
Subject: com php-src: Enable C99 in autoconf: configure.ac
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-104544@lists.php.net to get a copy of this message
Commit: b51a99ae358b3295de272bb3c3edb6913eeb0fd4 Author: Nikita Popov <nikita.ppv@gmail.com> Sun, 16 Sep 2018 16:51:03 +0200 Parents: 5702ce630b0998456b22fc22576d7946efc67988 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=b51a99ae358b3295de272bb3c3edb6913eeb0fd4 Log: Enable C99 in autoconf This is essentially a no-op, because any current compiler already defaults to C99 or C11. When using language features from C99 or C11, please don't forget that header files also need to be compatible with C++. Changed paths: M configure.ac Diff: diff --git a/configure.ac b/configure.ac index 052c39c..119323d 100644 --- a/configure.ac +++ b/configure.ac @@ -183,8 +183,7 @@ AC_PROG_CC([cc gcc]) PHP_DETECT_ICC PHP_DETECT_SUNCC AC_PROG_CC_C_O -dnl Change to AC_PROG_CC_STDC when we start requiring a post-2.13 autoconf -dnl AC_PROG_CC_STDC +AC_PROG_CC_C99 AC_PROG_CPP AC_USE_SYSTEM_EXTENSIONS AC_PROG_LN_S

« previous php.cvs (#104544) next »