Allow automake 1.9.2

This commit is contained in:
Rocky Bernstein 2004-12-08 02:06:58 +00:00
parent 5c856bccc3
commit 3b8f14f8d7
1 changed files with 10 additions and 0 deletions

View File

@ -54,6 +54,14 @@ if automake-1.8 --version >/dev/null 2>&1; then
amvers="-1.6"
fi
fi
elif automake-1.9 --version >/dev/null 2>&1; then
amvers="-1.9"
# If we also have 1.6 (>> 1.6.1), use it instead because it is faster
if automake-1.6 --version >/dev/null 2>&1; then
if expr "`automake-1.6 --version | sed -e '1s/[^0-9]*//' -e q`" ">" "1.6.1" > /dev/null 2>&1; then
amvers="-1.6"
fi
fi
elif automake-1.7 --version >/dev/null 2>&1; then
amvers="-1.7"
# If we also have 1.6 (>> 1.6.1), use it instead because it is faster
@ -79,6 +87,8 @@ elif automake --version > /dev/null 2>&1; then
INSTALLSUCKS=yes ;;
1.6|1.6.0|1.6.1)
AUTOMAKESUCKS=yes ;;
1.9|1.9.2)
;;
esac
fi