summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0cca8c5)
raw | patch | inline | side by side (parent: 0cca8c5)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sat, 6 May 2006 13:24:23 +0000 (13:24 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sat, 6 May 2006 13:24:23 +0000 (13:24 +0000) |
program/configure.ac | patch | blob | history |
diff --git a/program/configure.ac b/program/configure.ac
index 0a1aae10524529dec196911031368b2e0718eef4..3818b05c7795e98fe56266b4ff0c33f138b88969 100644 (file)
--- a/program/configure.ac
+++ b/program/configure.ac
dnl Does the compiler like -Wall and -pedantic?
if test "$GCC" = "yes"; then
oCFLAGS=$CFLAGS
- CFLAGS="$CFLAGS -fno-strict-aliasing -Wall -pedantic -Wshadow -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -W"
+ CFLAGS="$CFLAGS -fno-strict-aliasing -Wall -std=gnu99 -pedantic -Wshadow -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -W"
AC_CACHE_CHECK(if we can use GCC-specific compiler options, rd_cv_gcc_opt,
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[return 0 ]])],[rd_cv_gcc_opt=yes],[rd_cv_gcc_opt=no ])
]