|
|
| |
## Using prereq in autoconf rather than here, mostly for the debian systems at | ## Using prereq in autoconf rather than here, mostly for the debian systems at |
## this point | ## this point |
if test -z "`autoconf --version 2>&1|head -n 1|egrep '2.5'`"; then |
AC_VER="`autoconf --version 2>/dev/null | head -n 1 | sed 's/autoconf//g;s/Autoconf//g;s/\ //g;s/(GNU)//g'`" |
|
AC_VER_MAJ=`echo $AC_VER | cut --delimiter='.' --fields=1` |
|
AC_VER_MIN=`echo $AC_VER | cut --delimiter='.' --fields=2` |
|
if test \( $AC_VER_MAJ '=' 2 -a $AC_VER_MIN '<' 50 \) -o $AC_VER_MAJ '<' 2; then |
echo "Autoconf 2.50 or above is required. Aborting build..."; | echo "Autoconf 2.50 or above is required. Aborting build..."; |
exit 1; |
exit 1; |
fi | fi |
| |
if test -z "`automake --version 2>&1|head -n 1|egrep '1.[6-9]'`"; then | if test -z "`automake --version 2>&1|head -n 1|egrep '1.[6-9]'`"; then |