diff options
author | Matthias Clasen <mclasen@redhat.com> | 2009-09-04 11:52:55 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2009-09-04 11:53:07 -0400 |
commit | 76dab7b3b745c285f814311b071fefc8244d5245 (patch) | |
tree | 71cbfed21aa2dca028a7f6b32bd7db103452b263 /autogen.sh | |
parent | 1606b822321fb4cd370a2cd2e117481e125722ee (diff) | |
download | gdk-pixbuf-76dab7b3b745c285f814311b071fefc8244d5245.tar.gz |
Accept automake 1.10 and 1.11
This was tested to work in bug 588788.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/autogen.sh b/autogen.sh index d3fb066d3..66e4f0335 100755 --- a/autogen.sh +++ b/autogen.sh @@ -45,16 +45,24 @@ fi DIE=1 } -if automake-1.7 --version < /dev/null > /dev/null 2>&1 ; then +if automake-1.11 --version < /dev/null > /dev/null 2>&1 ; then + AUTOMAKE=automake-1.11 + ACLOCAL=aclocal-1.11 +else if automake-1.10 --version < /dev/null > /dev/null 2>&1 ; then + AUTOMAKE=automake-1.10 + ACLOCAL=aclocal-1.10 +else if automake-1.7 --version < /dev/null > /dev/null 2>&1 ; then AUTOMAKE=automake-1.7 ACLOCAL=aclocal-1.7 else echo - echo "You must have automake 1.7.x installed to compile $PROJECT." + echo "You must have automake 1.7.x, 1,10.x or 1.11.x installed to compile $PROJECT." echo "Install the appropriate package for your distribution," echo "or get the source tarball at http://ftp.gnu.org/gnu/automake/" DIE=1 fi +fi +fi if test "$DIE" -eq 1; then exit 1 |