summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2009-11-26 14:50:36 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2009-11-26 14:50:36 +0000
commitcb38a29c521fc6a7f5b91ac707fea75015233c65 (patch)
tree339c84192f742d8295f52644d2c09b18eebe8e9e /autogen.sh
parent65a732505eb68c66ee11e0b16d7ae7c0d6078fad (diff)
autogen.sh: prefer automake 1.11 if available, for silent rules
This mirrors a similar change in telepathy-glib.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh13
1 files changed, 7 insertions, 6 deletions
diff --git a/autogen.sh b/autogen.sh
index bdcbefec6..b6dff981b 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -3,13 +3,14 @@ set -e
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
+elif automake-1.11 --version >/dev/null 2>/dev/null && \
+ aclocal-1.11 --version >/dev/null 2>/dev/null; then
+ # If we have automake-1.11, use it. This is the oldest version (=> least
+ # likely to introduce undeclared dependencies) that will give us
+ # --enable-silent-rules support.
+ AUTOMAKE=automake-1.11
export AUTOMAKE
- ACLOCAL=aclocal-1.9
+ ACLOCAL=aclocal-1.11
export ACLOCAL
fi