diff options
Diffstat (limited to 'autogen.sh')
-rw-r--r-- | autogen.sh | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh index d2db5ba25..ce3d8e744 100644 --- a/autogen.sh +++ b/autogen.sh @@ -3,7 +3,19 @@ set -e gtkdocize -autoreconf -i +if test -n "$AUTOMAKE"; then + : # don't override an explicit user request +elif automake-1.8 --version &>/dev/null && \ + aclocal-1.8 --version &>/dev/null; then + # If we have automake-1.8, use it. This helps to ensure that our build + # system doesn't accidentally grow automake-1.9 dependencies. + AUTOMAKE=automake-1.8 + export AUTOMAKE + ACLOCAL=aclocal-1.8 + export ACLOCAL +fi + +autoreconf -i -f run_configure=true for arg in $*; do |