summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 f8873f6e2..9665b68c5 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 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