[glib] Support automake 1.11
- From: Matthias Clasen <matthiasc src gnome org>
- To: svn-commits-list gnome org
- Subject: [glib] Support automake 1.11
- Date: Wed, 10 Jun 2009 16:21:50 -0400 (EDT)
commit 83ae249a2efc6f6445b5655cc16841ee2f9d3f75
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Jun 10 16:20:38 2009 -0400
Support automake 1.11
---
autogen.sh | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/autogen.sh b/autogen.sh
index 3e9e847..9669bb0 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -45,20 +45,24 @@ fi
DIE=1
}
-if automake-1.10 --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.9 --version < /dev/null > /dev/null 2>&1 ; then
AUTOMAKE=automake-1.9
ACLOCAL=aclocal-1.9
-else
+else
echo
- echo "You must have automake 1.9.x or 1.10.x installed to compile $PROJECT."
+ echo "You must have automake 1.9.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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]