Move warning flags from autogen.sh to configure.ac
authorMichael Hanselmann <hansmi@google.com>
Fri, 13 Jun 2008 14:33:51 +0000 (14:33 +0000)
committerMichael Hanselmann <hansmi@google.com>
Fri, 13 Jun 2008 14:33:51 +0000 (14:33 +0000)
Reviewed-by: iustinp

autogen.sh
configure.ac

index 5ce0f19..c87d12b 100755 (executable)
@@ -12,6 +12,6 @@ mkdir -p autotools
 
 ${ACLOCAL:-aclocal} -I autotools
 ${AUTOCONF:-autoconf}
 
 ${ACLOCAL:-aclocal} -I autotools
 ${AUTOCONF:-autoconf}
-${AUTOMAKE:-automake} --add-missing -Wall -Wno-portability
+${AUTOMAKE:-automake} --add-missing
 
 rm -rf autom4te.cache
 
 rm -rf autom4te.cache
index 902efd0..c28706d 100644 (file)
@@ -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)
 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)
 
 AC_SUBST([VERSION_MAJOR], gnt_version_major)
 AC_SUBST([VERSION_MINOR], gnt_version_minor)