From af8e4edb0dd1df3bdb0306575f93b7378c661930 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Fri, 27 Oct 2000 14:55:49 +0000 Subject: [PATCH] * 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 --- src/util/ChangeLog | 5 +++++ src/util/reconf | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/util/ChangeLog b/src/util/ChangeLog index f8873f6e2..9665b68c5 100644 --- a/src/util/ChangeLog +++ b/src/util/ChangeLog @@ -1,3 +1,8 @@ +2000-10-27 Ezra Peisach + + * reconf: Pass "-m util/autoconf" to autoreconf only if we are + using the source trees version of autoconf. + 2000-10-03 Ken Raeburn * reconf: Look for autoconf 2.12 or later. Don't use "grep -q", diff --git a/src/util/reconf b/src/util/reconf index 5d6533dc1..78c0c9b82 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 -- 2.26.2