X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=configure.ac;h=7d77122206209e1353dccb6057279bff4ac9c8ff;hb=814e92743992bce5d50dd662a4f661e50f4ab1ba;hp=7cadc3bd3cfdab8b0d58538c0453750abdf7c75d;hpb=82336d4b8f2f2227e733cf3078378ed87fd6e79c;p=rrdtool.git diff --git a/configure.ac b/configure.ac index 7cadc3b..7d77122 100644 --- a/configure.ac +++ b/configure.ac @@ -339,7 +339,7 @@ CFLAGS="$CFLAGS -D_GNU_SOURCE" dnl which flags does the compiler support? if test "x$GCC" = "xyes"; then - for flag in -fno-strict-aliasing -Wall -std=c99 -pedantic -Wundef -Wshadow -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wc++-compat -Wold-style-definition -W; do + for flag in -fno-strict-aliasing -Wall -std=c99 -pedantic -Wundef -Wshadow -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wold-style-definition -W; do oCFLAGS="$CFLAGS" CFLAGS="$CFLAGS $flag" cachename=rd_cv_gcc_flag_`echo $flag|sed 's/[[^A-Za-z]]/_/g'`