From: oetiker Date: Sat, 6 May 2006 13:24:23 +0000 (+0000) Subject: Avoid gcc warnings about use of "long long" -- Peter Breitenlohner X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1b5b1154c69b39dd8a0b6fba5a7e23ec9f400ed2;p=rrdtool-all.git Avoid gcc warnings about use of "long long" -- Peter Breitenlohner git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2@818 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/program/configure.ac b/program/configure.ac index 0a1aae10..3818b05c 100644 --- a/program/configure.ac +++ b/program/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 ]) ]