summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2009-09-04 15:13:09 -0400
committerMatthias Clasen <mclasen@redhat.com>2009-09-04 15:13:09 -0400
commitea98cdc164b8837ff20d8906764a2e679686dd6b (patch)
tree096b0d9cd7e85bca76bbbaa17e3c6c4413745088 /autogen.sh
parent8654ffd9db89730bf3a89998e35a761e5324ecb0 (diff)
downloadgtk+-ea98cdc164b8837ff20d8906764a2e679686dd6b.tar.gz
Try again to allow newer automake
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh12
1 files changed, 10 insertions, 2 deletions
diff --git a/autogen.sh b/autogen.sh
index d3fb066d3e..66e4f03357 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -45,16 +45,24 @@ fi
DIE=1
}
-if automake-1.7 --version < /dev/null > /dev/null 2>&1 ; then
+if automake-1.11 --version < /dev/null > /dev/null 2>&1 ; then
+ AUTOMAKE=automake-1.11
+ ACLOCAL=aclocal-1.11
+else if automake-1.10 --version < /dev/null > /dev/null 2>&1 ; then
+ AUTOMAKE=automake-1.10
+ ACLOCAL=aclocal-1.10
+else if automake-1.7 --version < /dev/null > /dev/null 2>&1 ; then
AUTOMAKE=automake-1.7
ACLOCAL=aclocal-1.7
else
echo
- echo "You must have automake 1.7.x installed to compile $PROJECT."
+ echo "You must have automake 1.7.x, 1,10.x or 1.11.x installed to compile $PROJECT."
echo "Install the appropriate package for your distribution,"
echo "or get the source tarball at http://ftp.gnu.org/gnu/automake/"
DIE=1
fi
+fi
+fi
if test "$DIE" -eq 1; then
exit 1