From 94a7701761034391f8528f4bf7f890894f0787cd Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Fri, 14 Nov 2008 15:55:51 +0000 Subject: Require automake >= 1.9 (see telepathy-glib for rationale) --- autogen.sh | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'autogen.sh') 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 -- cgit v1.2.1