libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Autotest 2.62 bug?


From: Gary V. Vaughan
Subject: [PATCH] Autotest 2.62 bug?
Date: Mon, 9 Aug 2010 18:14:34 +0700

Hallo Ralf,

The following patch makes it possible to bootstrap libtool.git master with 
Autoconf 2.62,
though it is not necessary when using a newer Autoconf.

Unfortunately I don't know my way around the innards of Autotest well enough to 
be able
to figure out what the problem is, though with time it should be possible to 
bisect to
the changeset that fixes it I suppose.

Having said that, if it's really a bug in Autoconf 2.62, then we either need to 
require
a newer version of Autoconf to bootstrap the Libtool testsuite, or else test and
commit a variant of the following patch to work around it.

Cheers,
Gary
---
 tests/getopt-m4sh.at |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/tests/getopt-m4sh.at b/tests/getopt-m4sh.at
index 768d595..914d17b 100644
--- a/tests/getopt-m4sh.at
+++ b/tests/getopt-m4sh.at
@@ -96,11 +96,10 @@ AT_CHECK([$SHELL ./options -fvi], 0, [expout])
 
 AT_CLEANUP
 
-
 AT_SETUP([enhanced shell short option splitting])
 
 # Don't bother with additional XSI checks unless functions were substituted
-AT_CHECK([fgrep '# Extended-shell func_split_short_opt' 
$abs_top_builddir/libtool >/dev/null 2>&1 || (exit 77)])
+fgrep '# Extended-shell func_split_short_opt' $abs_top_builddir/libtool 
>/dev/null 2>&1 || exit 77
 
 AT_DATA(expout,
 [[ force verbose install
@@ -134,7 +133,7 @@ AT_CLEANUP
 AT_SETUP([XSI long option splitting])
 
 # Don't bother with additional XSI checks unless functions were substituted
-AT_CHECK([fgrep '# Extended-shell func_split_long_opt' 
$abs_top_builddir/libtool >/dev/null 2>&1 || (exit 77)])
+fgrep '# Extended-shell func_split_long_opt' $abs_top_builddir/libtool 
>/dev/null 2>&1 || (exit 77)
 
 AT_DATA(expout,
 [[ ltdl=long
@@ -171,7 +170,7 @@ AT_CLEANUP
 AT_SETUP([enhanced shell option appending])
 
 # Don't bother with additional += check unless functions were substituted
-AT_CHECK([fgrep '# Extended-shell func_append ' $abs_top_builddir/libtool 
>/dev/null 2>&1 || (exit 77)])
+fgrep '# Extended-shell func_append ' $abs_top_builddir/libtool >/dev/null 
2>&1 || exit 77
 
 AT_DATA(expout,
 [[first   --append second
-- 
1.7.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]