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