From 955a66265612f0689373bbe7d100d5ad29256b81 Mon Sep 17 00:00:00 2001 From: Peter Haag Date: Sun, 1 Sep 2019 13:46:50 +0200 Subject: [PATCH] Cleanup configure.ac --- ChangeLog | 3 +++ configure.ac | 6 ++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index aff8afda..0b120d43 100755 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2019-09-01 +- Cleanup configure.ac + 2019-08-31 - Fix various c11 compile issues - Cleanup old compat15 comments diff --git a/configure.ac b/configure.ac index 0d6c7a5a..08f73bec 100755 --- a/configure.ac +++ b/configure.ac @@ -9,15 +9,13 @@ AC_CONFIG_HEADER([config.h]) AM_INIT_AUTOMAKE([subdir-objects]) # Checks for programs. -CFLAGS="-g -O3 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -fno-strict-aliasing" +CFLAGS="-g -O3" AC_PROG_CC([clang gcc]) AX_CHECK_C11 +CFLAGS="$CFLAGS -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -fno-strict-aliasing" LT_INIT -dnl get the flags -CFLAGS="${CFLAGS=}" - AC_ARG_ENABLE(devel, [ --enable-devel compile debug and development code into nfdump; default is NO])