+2003-04-24 Ken Raeburn <raeburn@mit.edu>
+
+ * reconf: Restore support for 2.52; reject older versions.
+
2003-04-23 Ken Raeburn <raeburn@mit.edu>
* reconf: Drop support for 2.52 and earlier.
esac
done
-# Currently (2003-04-23) we need 2.53 or later.
-# The pattern also recognizes 2.40 and up.
-patb="2.(1[0-9][0-9])|(5[3-9])|([6-9][0-9])"
+# Currently (2003-04-24) we need 2.52 or later.
+patb="2.(1[0-9][0-9])|(5[2-9])|([6-9][0-9])"
# sedcmd1 recognizes the older 2.12 version, and sedcmd2 the newer 2.49
sedcmd1="s,.*version \(.*\)$,\1,"
# Determine if we need to patch autoreconf for 2.53
case "$autoconfversion" in
+ 2.52)
+ echo "WARNING: autoconf 2.52 is known to generate buggy configure scripts!"
+ ;;
2.53)
echo "Patching autoreconf"
# Walk the path to find autoreconf
;;
esac
- localdirarg="-I"
+ # Determine the proper argument to autoreconf
+ case "$autoconfversion" in
+ 2.1*)
+ localdirarg="-l"
+ ;;
+ 2.5[23])
+ localdirarg="-l"
+ ;;
+ *)
+ localdirarg="-I"
+ ;;
+ esac
else
- echo "Couldn't find autoconf 2.53 or higher in your path."
+ echo "Couldn't find autoconf 2.52 or higher in your path."
echo " "
echo "Please install or add to your path and re-run ./util/reconf"
exit 1