From d90a7bc717a49c4dd4492e9d128037ce4e3e39e7 Mon Sep 17 00:00:00 2001 From: Marc Fournier Date: Tue, 8 Sep 2015 09:03:24 +0200 Subject: [PATCH] configure: move werror flag to features --- configure.ac | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/configure.ac b/configure.ac index 09e87e4b..3e04414e 100644 --- a/configure.ac +++ b/configure.ac @@ -5246,6 +5246,7 @@ collectd features:]) AC_COLLECTD([debug], [enable], [feature], [debugging]) AC_COLLECTD([daemon], [disable], [feature], [daemon mode]) AC_COLLECTD([getifaddrs],[enable], [feature], [getifaddrs under Linux]) +AC_COLLECTD([werror], [disable], [feature], [building with -Werror]) dependency_warning="no" dependency_error="no" @@ -5916,13 +5917,6 @@ AC_SUBST(LCC_VERSION_STRING) AC_CONFIG_FILES(src/libcollectdclient/collectd/lcc_features.h) AM_CFLAGS="-Wall" -AC_ARG_ENABLE([werror], - AS_HELP_STRING( - [--disable-werror], - [Disable -Werror @<:@default=no@:>@)] - ) -) - if test "x$enable_werror" != "xno" then AM_CFLAGS="$AM_CFLAGS -Werror" -- 2.30.2