Automake detection fix from coob.

This commit is contained in:
Ragnvald Maartmann-Moe IV 2002-07-21 23:26:57 +00:00
parent 147a783bb6
commit 5f426405a0

View file

@ -26,7 +26,7 @@ if [ "$1" = "clean" ]; then
else else
VERSION=`automake --version |head| sed 's/automake (GNU automake) //'` VERSION=`automake --version |head -1| sed 's/automake (GNU automake) //'`
MAJOR=`echo $VERSION | cut -f1 -d.` MAJOR=`echo $VERSION | cut -f1 -d.`
MINOR=`echo $VERSION | cut -f2 -d.` MINOR=`echo $VERSION | cut -f2 -d.`
if test "$MAJOR" -ge "1" -a "$MINOR" -ge "6"; then if test "$MAJOR" -ge "1" -a "$MINOR" -ge "6"; then