[pyorbit] * autogen.sh: Also detect and use automake 1.11 when available



commit cf69c9172dc2c3450c61b69c9048471d7e89346e
Author: Christian Kirbach <Christian Kirbach googlemail com>
Date:   Wed Feb 24 22:15:19 2010 +0100

    * autogen.sh:
      Also detect and use automake 1.11 when available

 autogen.sh |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index ea3adbe..ca9da43 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -32,7 +32,10 @@ test -z "$AUTOHEADER" && AUTOHEADER=autoheader
 }
 
 if test -z "$AUTOMAKE"; then
-  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
+  elif automake-1.10 --version < /dev/null > /dev/null 2>&1; then
     AUTOMAKE=automake-1.10
     ACLOCAL=aclocal-1.10
   elif automake-1.9 --version < /dev/null > /dev/null 2>&1; then



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]