summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEzra Peisach <epeisach@mit.edu>2000-10-27 14:55:49 +0000
committerEzra Peisach <epeisach@mit.edu>2000-10-27 14:55:49 +0000
commitaf8e4edb0dd1df3bdb0306575f93b7378c661930 (patch)
treeebbae4188e8743440b5e3cddcd85d3e8bb05e1cd /src
parent36a8465e0bb9181e27b6ea7244378ba4edfaf66e (diff)
downloadkrb5-af8e4edb0dd1df3bdb0306575f93b7378c661930.tar.gz
krb5-af8e4edb0dd1df3bdb0306575f93b7378c661930.tar.xz
krb5-af8e4edb0dd1df3bdb0306575f93b7378c661930.zip
* reconf: Pass "-m util/autoconf" to autoreconf only if we are
using the source trees version of autoconf. If we trust the installed version of autoconf, we should use their macros. Performance boost of 2x in autoconfing the tree through use of frozen m4 files. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12820 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
-rw-r--r--src/util/ChangeLog5
-rw-r--r--src/util/reconf6
2 files changed, 9 insertions, 2 deletions
diff --git a/src/util/ChangeLog b/src/util/ChangeLog
index f8873f6e21..9665b68c56 100644
--- a/src/util/ChangeLog
+++ b/src/util/ChangeLog
@@ -1,3 +1,8 @@
+2000-10-27 Ezra Peisach <epeisach@mit.edu>
+
+ * reconf: Pass "-m util/autoconf" to autoreconf only if we are
+ using the source trees version of autoconf.
+
2000-10-03 Ken Raeburn <raeburn@mit.edu>
* reconf: Look for autoconf 2.12 or later. Don't use "grep -q",
diff --git a/src/util/reconf b/src/util/reconf
index 5d6533dc13..78c0c9b820 100644
--- a/src/util/reconf
+++ b/src/util/reconf
@@ -2,6 +2,7 @@
force=
autoreconfprog=./util/autoconf/autoreconf
+autoreconfoptions="-m util/autoconf"
verbose=false
autoreconf="/bin/sh $autoreconfprog"
@@ -28,6 +29,7 @@ if test ! -f $autoreconfprog ; then
autoconf --version | grep "$pat" >/dev/null && \
autoheader --version | grep "$pat" >/dev/null; then
autoreconf=autoreconf
+ autoreconfoptions=
echo "Using" `autoconf --version` "found in your path..."
else
echo "Couldn't find autoconf 2.12 or higher in your path."
@@ -40,6 +42,6 @@ if test ! -f $autoreconfprog ; then
fi
if $verbose ; then
- echo $autoreconf -m util/autoconf -l . --verbose $force
+ echo $autoreconf $autoreconfoptions -l . --verbose $force
fi
-$autoreconf -m util/autoconf -l . --verbose $force
+$autoreconf $autoreconfoptions -l . --verbose $force