if we're building with gcc, add "-std=gnu99" to CFLAGS s.t. we get warnings for badly-formed inline functions

This commit is contained in:
Charles Kerr 2009-01-02 20:25:48 +00:00
parent d202c5ecea
commit 8318642989
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ AC_PROG_CC
AC_PROG_CXX
AC_C_INLINE
if test "x$GCC" = "xyes" ; then
CFLAGS="-Wall -Wformat-security -W -Wmissing-prototypes -Wdeclaration-after-statement"
CFLAGS="-Wall -Wformat-security -W -Wmissing-prototypes -Wdeclaration-after-statement -std=gnu99"
CXXFLAGS="-Wall -Wformat-security -W"
fi