From: Marc Fournier Date: Tue, 8 Sep 2015 07:03:24 +0000 (+0200) Subject: configure: move werror flag to features X-Git-Tag: collectd-5.6.0~597^2~1 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=d90a7bc717a49c4dd4492e9d128037ce4e3e39e7;p=collectd.git configure: move werror flag to features --- 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"