aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenedikt Morbach <moben@exherbo.org>2012-06-18 00:30:14 +0200
committerChris E Ferron <chris.e.ferron@linux.intel.com>2012-06-27 11:16:08 -0700
commitccb84e2aaca18f3bca83288c48d9806fdf3fef4d (patch)
tree991ec71fbccf78a0027627043d42b7d8f03f42e6
parent59544accb8a4bda066bd4f72ac2ac6f34cd91224 (diff)
remove -Werror from AM_INIT_AUTOMAKE
While this is nice while developing, it may cause various problems with distributed tarballs. A new automake version could add a warning, causing errors for distributions and users, who might need to patch configure.ac and thus run autoreconf. For example, we hit an error where a third party package (gettext) uses functionality (AM_PROG_MKDIR_P) which is deprecated in newer automake versions(1.12.1), causing the powertop build to fail. Since the problem lies elsewhere, it is stupid to fail for this while building powertop
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 4da4eea..ff4cdea 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3,7 +3,7 @@
AC_PREREQ([2.68])
AC_INIT([powertop], [2.0], [powertop@lists.01.org])
-AM_INIT_AUTOMAKE([-Wall -Werror foreign ])
+AM_INIT_AUTOMAKE([-Wall foreign ])
AC_LANG([C++])
AC_CONFIG_FILES([Makefile src/Makefile pevent/Makefile po/Makefile.in doc/Makefile])
AC_CONFIG_SRCDIR([src/main.cpp])