diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2009-11-26 14:50:36 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2009-11-26 14:50:36 +0000 |
commit | cb38a29c521fc6a7f5b91ac707fea75015233c65 (patch) | |
tree | 339c84192f742d8295f52644d2c09b18eebe8e9e /autogen.sh | |
parent | 65a732505eb68c66ee11e0b16d7ae7c0d6078fad (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-x | autogen.sh | 13 |
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 |