Skip to content

Commit b51a99a

Browse files
committed
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++.
1 parent 5702ce6 commit b51a99a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

configure.ac

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,7 @@ AC_PROG_CC([cc gcc])
183183
PHP_DETECT_ICC
184184
PHP_DETECT_SUNCC
185185
AC_PROG_CC_C_O
186-
dnl Change to AC_PROG_CC_STDC when we start requiring a post-2.13 autoconf
187-
dnl AC_PROG_CC_STDC
186+
AC_PROG_CC_C99
188187
AC_PROG_CPP
189188
AC_USE_SYSTEM_EXTENSIONS
190189
AC_PROG_LN_S

0 commit comments

Comments
 (0)