diff options
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/autogen.sh b/autogen.sh index f8663616d..7e5885cb1 100755 --- a/autogen.sh +++ b/autogen.sh @@ -48,13 +48,17 @@ fi if automake-1.9 --version < /dev/null > /dev/null 2>&1 ; then AUTOMAKE=automake-1.9 ACLOCAL=aclocal-1.9 -else +else if automake-1.10 --version < /dev/null > /dev/null 2>&1 ; then + AUTOMAKE=automake-1.10 + ACLOCAL=aclocal-1.10 +else echo - echo "You must have automake 1.9.x installed to compile $PROJECT." + echo "You must have automake 1.9.x or 1.10.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 if test "$DIE" -eq 1; then exit 1 |