From: Michael Hanselmann Date: Fri, 13 Jun 2008 14:33:51 +0000 (+0000) Subject: Move warning flags from autogen.sh to configure.ac X-Git-Tag: v2.0.0alpha0~416 X-Git-Url: http://git.ganeti.org/?p=ganeti-github.git;a=commitdiff_plain;h=e70f1b7c19f00e1ffdaf6443cd0d339a1fa07b2f Move warning flags from autogen.sh to configure.ac Reviewed-by: iustinp --- diff --git a/autogen.sh b/autogen.sh index 5ce0f19..c87d12b 100755 --- a/autogen.sh +++ b/autogen.sh @@ -12,6 +12,6 @@ mkdir -p autotools ${ACLOCAL:-aclocal} -I autotools ${AUTOCONF:-autoconf} -${AUTOMAKE:-automake} --add-missing -Wall -Wno-portability +${AUTOMAKE:-automake} --add-missing rm -rf autom4te.cache diff --git a/configure.ac b/configure.ac index 902efd0..c28706d 100644 --- a/configure.ac +++ b/configure.ac @@ -12,7 +12,7 @@ AC_PREREQ(2.59) AC_INIT(ganeti, gnt_version_full, ganeti@googlegroups.com) AC_CONFIG_AUX_DIR(autotools) AC_CONFIG_SRCDIR(configure) -AM_INIT_AUTOMAKE([foreign tar-ustar 1.9]) +AM_INIT_AUTOMAKE([1.9 foreign tar-ustar -Wall -Wno-portability]) AC_SUBST([VERSION_MAJOR], gnt_version_major) AC_SUBST([VERSION_MINOR], gnt_version_minor)