summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2003-04-24 02:38:28 +0000
committerKen Raeburn <raeburn@mit.edu>2003-04-24 02:38:28 +0000
commit1f992b201ab8c6aefecddd3e00d08d0758907e82 (patch)
tree59cb810771d2b90b51f2ea16d5c00277f3611534
parent52908dd0b6d92e1b565e06d99d617a98a7108f45 (diff)
downloadkrb5-1f992b201ab8c6aefecddd3e00d08d0758907e82.tar.gz
krb5-1f992b201ab8c6aefecddd3e00d08d0758907e82.tar.xz
krb5-1f992b201ab8c6aefecddd3e00d08d0758907e82.zip
* reconf: Drop support for 2.52 and earlier
ticket: 1242 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15366 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r--src/util/ChangeLog4
-rw-r--r--src/util/reconf32
2 files changed, 9 insertions, 27 deletions
diff --git a/src/util/ChangeLog b/src/util/ChangeLog
index 5401447ad..57c0c7c9f 100644
--- a/src/util/ChangeLog
+++ b/src/util/ChangeLog
@@ -1,3 +1,7 @@
+2003-04-23 Ken Raeburn <raeburn@mit.edu>
+
+ * reconf: Drop support for 2.52 and earlier.
+
2003-04-10 Tom Yu <tlyu@mit.edu>
* reconf: Warn if autoconf-2.52 is used, as it generates buggy
diff --git a/src/util/reconf b/src/util/reconf
index 5ee6bc331..1aa7d605c 100644
--- a/src/util/reconf
+++ b/src/util/reconf
@@ -24,9 +24,9 @@ do
esac
done
-# Currently (2000-10-03) we need 2.13 or later.
+# Currently (2003-04-23) we need 2.53 or later.
# The pattern also recognizes 2.40 and up.
-patb="2.(1[3-9])|([4-9][0-9])"
+patb="2.(1[0-9][0-9])|(5[3-9])|([6-9][0-9])"
# sedcmd1 recognizes the older 2.12 version, and sedcmd2 the newer 2.49
sedcmd1="s,.*version \(.*\)$,\1,"
@@ -39,21 +39,10 @@ if autoreconf --version | sed -e "$sedcmd1" -e "$sedcmd2" | egrep "$patb" >/dev/
autoreconfoptions=
autoconfversion=`autoconf --version | sed -e "$sedcmd1" -e "$sedcmd2"`
echo "Using autoconf version $autoconfversion found in your path..."
- # Determine if localdir needs to be relative or absolute
- case "$autoconfversion" in
- 2.1*)
- localdir=.
- ;;
- *)
- localdir=`pwd`
- ;;
- esac
+ localdir=`pwd`
# 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
@@ -79,20 +68,9 @@ if autoreconf --version | sed -e "$sedcmd1" -e "$sedcmd2" | egrep "$patb" >/dev/
;;
esac
- # Determine the proper argument to autoreconf
- case "$autoconfversion" in
- 2.1*)
- localdirarg="-l"
- ;;
- 2.5[23])
- localdirarg="-l"
- ;;
- *)
- localdirarg="-I"
- ;;
- esac
+ localdirarg="-I"
else
- echo "Couldn't find autoconf 2.13 or higher in your path."
+ echo "Couldn't find autoconf 2.53 or higher in your path."
echo " "
echo "Please install or add to your path and re-run ./util/reconf"
exit 1