X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=configure.ac;h=3818b05c7795e98fe56266b4ff0c33f138b88969;hb=daf9623ffaf9ec95bda440e316d52f04698abee6;hp=0a1aae10524529dec196911031368b2e0718eef4;hpb=a9e69acbc184063dcc0eda6a250ee1b7ae1cbb47;p=rrdtool.git diff --git a/configure.ac b/configure.ac index 0a1aae1..3818b05 100644 --- a/configure.ac +++ b/configure.ac @@ -530,7 +530,7 @@ if test -z "$RRDDOCDIR"; then 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 ]) ]