[dconf] Bug 623310 - Can't build from git



commit cd72c8e840818f241e1b70da08e0dba1d62e7b9e
Author: Ryan Lortie <desrt desrt ca>
Date:   Sat Jul 10 22:08:50 2010 -0400

    Bug 623310  - Can't build from git
    
    Check for 'automake-1.11' and prefer that to 'automake', if available

 autogen.sh |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index 9c27749..6685786 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -9,10 +9,16 @@ if [ "$1" = "clean" ]; then
   exit
 fi
 
+if automake-1.11 --version > /dev/null; then
+  automake=automake-1.11
+else
+  automake=automake
+fi
+
 gtkdocize --docdir docs --flavour no-tmpl
 libtoolize --automake
 aclocal ${ACLOCAL_FLAGS}
-automake --add-missing --foreign
+${automake} --add-missing --foreign
 autoconf
 
 CFLAGS=${CFLAGS=-ggdb -Werror}



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