+2005-10-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ * tests/tagtrace.test: Allow `$AUTOCONF' to contain arguments.
+ Skip if the running `autoconf' version is older than the one
+ used to bootstrap Libtool.
+
2005-10-26 Eric Blake <ebb9@byu.net>,
Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
: ${fnord=$srcdir/fnord$$}
-"$AUTOCONF" --version > /dev/null 2>&1 || func_skip "This test requires GNU Autoconf"
+$AUTOCONF --version > /dev/null 2>&1 || func_skip "This test requires GNU Autoconf"
if touch $fnord; then
rm $fnord
else
func_skip "This test requires write access to the source tree"
fi
+if ( cd "$srcdir" && $AUTOCONF --trace 'LT_SUPPORTED_TAG:$1' ) 2>&1 >/dev/null |
+ grep "Autoconf version .*is required" >/dev/null; then
+ func_error "This test requires an Autoconf version at least as new"
+ func_skip "as the one that was used to bootstrap Libtool"
+fi
+
# Abort as soon as something fails.
set -e
# Retrieve the list of tags supported by our main libtool script.
-traced_tags=`cd "$srcdir" && "$AUTOCONF" --trace 'LT_SUPPORTED_TAG:$1'`
+traced_tags=`cd "$srcdir" && $AUTOCONF --trace 'LT_SUPPORTED_TAG:$1'`
test -n "$traced_tags"