[gtk-doc] autogen.sh: handle generic automake version
- From: Stefan Kost <stefkost src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk-doc] autogen.sh: handle generic automake version
- Date: Wed, 25 Nov 2009 22:27:17 +0000 (UTC)
commit 14eec0968f7b9704b8ee13d3593d20019caf27fe
Author: Nicola Fontana <ntd entidi it>
Date: Thu Nov 26 00:26:03 2009 +0200
autogen.sh: handle generic automake version
Before checking for specific automake and aclocal versions, try the
default one.
autogen.sh | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index b0ea230..a6091f3 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -27,7 +27,10 @@ cd "$srcdir"
DIE=1
}
-if automake-1.11 --version < /dev/null > /dev/null 2>&1; then
+if automake --version < /dev/null > /dev/null 2>&1; then
+ AUTOMAKE=automake
+ ACLOCAL=aclocal
+elif automake-1.11 --version < /dev/null > /dev/null 2>&1; then
AUTOMAKE=automake-1.11
ACLOCAL=aclocal-1.11
elif automake-1.10 --version < /dev/null > /dev/null 2>&1; then
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]