summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 71e07cf)
raw | patch | inline | side by side (parent: 71e07cf)
author | Marc Fournier <marc.fournier@camptocamp.com> | |
Tue, 8 Sep 2015 07:03:24 +0000 (09:03 +0200) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Tue, 8 Sep 2015 07:03:24 +0000 (09:03 +0200) |
configure.ac | patch | blob | history |
diff --git a/configure.ac b/configure.ac
index 09e87e4b6fe8540c854babd97f567f3686d2c731..3e04414eca24e273ecf46ddcfd9f61d271f114d2 100644 (file)
--- a/configure.ac
+++ b/configure.ac
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"
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"