--- bootstrap.orig 2005-08-22 03:36:43.000000000 +0400 +++ bootstrap 2006-06-30 21:22:14.000000000 +0400 @@ -12,9 +12,12 @@ ## Using prereq in autoconf rather than here, mostly for the debian systems at ## 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..."; - exit 1; + exit 1; fi if test -z "`automake --version 2>&1|head -n 1|egrep '1.[6-9]'`"; then