From: Michael Hanselmann Date: Thu, 12 Jun 2008 13:47:32 +0000 (+0000) Subject: Don't use specific versions in autogen.sh X-Git-Tag: v2.0.0alpha0~420 X-Git-Url: http://git.ganeti.org/?p=ganeti-github.git;a=commitdiff_plain;h=e02f23f82924d6012dfc18420f0ccdb347b9599b Don't use specific versions in autogen.sh Not all distributions have the same version of aclocal, autoconf or automake. Users can pass the name of a specific executables via environment variables. Change configure.ac to require at least autoconf 1.9. Reviewed-by: iustinp --- diff --git a/autogen.sh b/autogen.sh index 6b5fe37..5ce0f19 100755 --- a/autogen.sh +++ b/autogen.sh @@ -10,8 +10,8 @@ set -e rm -rf config.cache autom4te.cache mkdir -p autotools -aclocal-1.9 -I autotools -autoconf -automake-1.9 --add-missing -Wall -Wno-portability +${ACLOCAL:-aclocal} -I autotools +${AUTOCONF:-autoconf} +${AUTOMAKE:-automake} --add-missing -Wall -Wno-portability rm -rf autom4te.cache diff --git a/configure.ac b/configure.ac index c41fac7..902efd0 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]) +AM_INIT_AUTOMAKE([foreign tar-ustar 1.9]) AC_SUBST([VERSION_MAJOR], gnt_version_major) AC_SUBST([VERSION_MINOR], gnt_version_minor)