summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTheodore Tso <tytso@mit.edu>1995-02-03 21:59:26 +0000
committerTheodore Tso <tytso@mit.edu>1995-02-03 21:59:26 +0000
commitaf594b7570f0e4a81b665b4ed67ef6c3b4748316 (patch)
treeac31d360f7020a72e2592b6cf7107f1f8199b024
parent0ff7d426597f87b27f3c3b993348c6384f04893f (diff)
downloadkrb5-af594b7570f0e4a81b665b4ed67ef6c3b4748316.tar.gz
krb5-af594b7570f0e4a81b665b4ed67ef6c3b4748316.tar.xz
krb5-af594b7570f0e4a81b665b4ed67ef6c3b4748316.zip
If util/autoconf isn't built, try to use autoconf utilities found in the user's
path. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4907 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r--src/util/ChangeLog5
-rw-r--r--src/util/reconf20
2 files changed, 24 insertions, 1 deletions
diff --git a/src/util/ChangeLog b/src/util/ChangeLog
index 52c6d37a44..686c574057 100644
--- a/src/util/ChangeLog
+++ b/src/util/ChangeLog
@@ -1,3 +1,8 @@
+Fri Feb 3 16:50:07 1995 Theodore Y. Ts'o (tytso@dcl)
+
+ * reconf: If util/autoconf isn't built, try to use autoconf
+ utilities found in the user's path.
+
Tue Nov 8 01:44:26 1994 Theodore Y. Ts'o (tytso@dcl)
* Makefile.in: Don't use $< in a non suffix rule context.
diff --git a/src/util/reconf b/src/util/reconf
index f10f3ea668..c995539092 100644
--- a/src/util/reconf
+++ b/src/util/reconf
@@ -1,6 +1,7 @@
#!/bin/sh
force=
+autoreconf=./util/autoconf/autoreconf
usage="Usage: ./config.status [--recheck] [--version] [--help]"
for option
@@ -15,4 +16,21 @@ do
esac
done
-./util/autoconf/autoreconf -m util/autoconf -l . --verbose $force
+
+if test ! -f $autoreconf ; then
+ if autoreconf --version | grep -q "version 2.[123456789]" && \
+ autoconf --version | grep -q "version 2.[123456789]" && \
+ autoheader --version | grep -q "version 2.[123456789]" ; then
+ autoreconf=autoreconf
+ echo "Using" `autoconf --version` "found in your path..."
+ else
+ echo "Couldn't find autoconf 2.1 or higher in your path."
+ echo " "
+ echo "Please cd to util/autoconf, and type the commands"
+ echo "'configure' and then 'make'; then cd back to the top"
+ echo "of the source tree and re-run ./util/reconf"
+ exit 1
+ fi
+fi
+
+$autoreconf -m util/autoconf -l . --verbose $force