mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-21 11:11:37 +00:00
Make bootstrap deal with automake versions ending in -p[something]
This commit is contained in:
parent
f0be492c75
commit
86d495491f
1 changed files with 3 additions and 3 deletions
|
@ -69,15 +69,15 @@ fi
|
|||
am=`which automake`
|
||||
if test -n "$am" ; then
|
||||
if test -x "$am" ; then
|
||||
AM_VER=`automake --version | head -1 | sed 's/automake (GNU automake) //'`
|
||||
AM_VER=`automake --version | head -1 | sed -e 's/automake (GNU automake) //' -e 's/\-p.*$//'`
|
||||
AM_VER_MAJOR=`echo $AM_VER | cut -f1 -d.`
|
||||
AM_VER_MINOR=`echo $AM_VER | cut -f2 -d.`
|
||||
if test "$AM_VER_MAJOR" -lt "1"; then
|
||||
echo "Need automake version 1.6 or higher"
|
||||
echo "Automake 1.6 or greater needed to build makefiles."
|
||||
exit 1
|
||||
fi
|
||||
if test "$AM_VER_MAJOR" -eq "1" -a "$AM_VER_MINOR" -lt "6"; then
|
||||
echo "Need automake version 1.6 or higher"
|
||||
echo "Automake 1.6 or greater needed to build makefiles."
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue