[gtk+/gtk-2-16] Accept also Automake 1.10 and 1.11
- From: Tor Lillqvist <tml src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-16] Accept also Automake 1.10 and 1.11
- Date: Thu, 2 Sep 2010 11:33:18 +0000 (UTC)
commit fec6b83dc3ab665f682112726a51aa8fd9cb1e58
Author: Tor Lillqvist <tml iki fi>
Date: Thu Sep 2 12:52:34 2010 +0300
Accept also Automake 1.10 and 1.11
autogen.sh | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index f77380c..19d2bdc 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -48,16 +48,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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]