summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2010-07-10 22:08:50 -0400
committerRyan Lortie <desrt@desrt.ca>2010-07-10 22:08:50 -0400
commitcd72c8e840818f241e1b70da08e0dba1d62e7b9e (patch)
tree3e59fd59475b548a85d504d133283af93594000a /autogen.sh
parentd28587c56c46f37c5dd09f3fe84c65e435259610 (diff)
downloaddconf-cd72c8e840818f241e1b70da08e0dba1d62e7b9e.tar.gz
Bug 623310 - Can't build from git
Check for 'automake-1.11' and prefer that to 'automake', if available
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh8
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}