diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2018-09-16 16:51:03 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-02-11 14:32:30 +0100 |
commit | b51a99ae358b3295de272bb3c3edb6913eeb0fd4 (patch) | |
tree | 48fc0eee8a74ad4fa5a7884520db6f16933c34a3 | |
parent | 5702ce630b0998456b22fc22576d7946efc67988 (diff) | |
download | php-git-b51a99ae358b3295de272bb3c3edb6913eeb0fd4.tar.gz |
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++.
-rw-r--r-- | configure.ac | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 052c39cf47..119323d169 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 |