]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
Skip `enhanced shell option appending' test when not available.
authorGary V. Vaughan <gary@gnu.org>
Thu, 1 Jul 2010 03:44:12 +0000 (10:44 +0700)
committerGary V. Vaughan <gary@gnu.org>
Thu, 1 Jul 2010 03:44:12 +0000 (10:44 +0700)
* tests/getopt-m4sh.at [enhanced shell option appending]:
_LT_AT_XSI_FUNC_EXTRACT will not be able to find the enhanced
libtool func_append function if the replacement wasn't substituted
by configure, since the decorator comments will be different - in
that case simply skip the test.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
ChangeLog
tests/getopt-m4sh.at

index e9ca7a83f1c1230382dc8a34f704b1ffb8717ece..0bce7998be8ce0b3ffed9cd7d22a844f10907fc7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2010-07-01  Gary V. Vaughan  <gary@gnu.org>
+
+       Skip `enhanced shell option appending' test when not available.
+       * tests/getopt-m4sh.at [enhanced shell option appending]:
+       _LT_AT_XSI_FUNC_EXTRACT will not be able to find the enhanced
+       libtool func_append function if the replacement wasn't substituted
+       by configure, since the decorator comments will be different - in
+       that case simply skip the test.
+
 2010-06-30  Gary V. Vaughan  <gary@gnu.org>
 
        Add func_append test cases for smart and retarded implementations.
index 572522a6da039c57c68adf6943c67b23f34ab2b9..8373c8e61566bf2832259675c5fa8233c851e161 100644 (file)
@@ -170,6 +170,9 @@ AT_CLEANUP
 
 AT_SETUP([enhanced shell option appending])
 
+# Don't bother with additional += check unless functions were substituted
+AT_CHECK([fgrep '# XSI func_append ' $abs_top_builddir/libtool >/dev/null 2>&1 || (exit 77)])
+
 AT_DATA(expout,
 [[first   --append second
 third