summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorSimon McVittie <http://smcv.pseudorandom.co.uk/>2008-11-14 15:55:51 +0000
committerSimon McVittie <http://smcv.pseudorandom.co.uk/>2008-11-14 15:55:51 +0000
commit94a7701761034391f8528f4bf7f890894f0787cd (patch)
tree2316b5b6f91ddb0304e4775f469d11bf4a8727c5 /autogen.sh
parentc4fc461ea290168775feb4402d33c03bef56cdd1 (diff)
downloadtelepathy-farstream-94a7701761034391f8528f4bf7f890894f0787cd.tar.gz
Require automake >= 1.9 (see telepathy-glib for rationale)
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh14
1 files changed, 13 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index a3a9b5e..822ebf8 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -3,7 +3,19 @@ set -e
gtkdocize --copy
-autoreconf -i
+if test -n "$AUTOMAKE"; then
+ : # don't override an explicit user request
+elif automake-1.9 --version >/dev/null 2>/dev/null && \
+ aclocal-1.9 --version >/dev/null 2>/dev/null; then
+ # If we have automake-1.9, use it. This helps to ensure that our build
+ # system doesn't accidentally grow automake-1.10 dependencies.
+ AUTOMAKE=automake-1.9
+ export AUTOMAKE
+ ACLOCAL=aclocal-1.9
+ export ACLOCAL
+fi
+
+autoreconf -i -f
run_configure=true
for arg in $*; do