]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
tests: avoid getopt-m4sh failures when autom4te is not available.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 30 Aug 2010 20:51:02 +0000 (22:51 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 30 Aug 2010 20:51:02 +0000 (22:51 +0200)
* tests/getopt-m4sh.at (_LT_AT_GETOPT_M4SH_SETUP):
Check $M4SH --version, skip on failure.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
tests/getopt-m4sh.at

index 24d051b5a72ca7ae7ae293443f230a81a7e5d99f..6e5b2018cbfcbdf4eff0b50b8d262b23d5e4b13c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2010-08-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+       tests: avoid getopt-m4sh failures when autom4te is not available.
+       * tests/getopt-m4sh.at (_LT_AT_GETOPT_M4SH_SETUP):
+       Check $M4SH --version, skip on failure.
+
        tests: mark 'syntax of .la files' as XFAIL, expose failure.
        * tests/lalib-syntax.at (syntax of .la files): Assert that the
        string returned by lt_dlerror after a failure is non-NULL, so
index d2df82755d3298e67e9e185e8fa27f751b663e4f..1c2ac26492eb626587673a3ee39b009c6d4f6e8b 100644 (file)
@@ -48,6 +48,7 @@ M4SH_GETOPTS(
 ]])
 m4_pattern_forbid([m4_include])
 m4_pattern_forbid([AS_INIT])
+AT_CHECK([$M4SH --version || exit 77], [], [ignore], [ignore])
 AT_CHECK([$M4SH -B $abs_top_srcdir/libltdl/config options.m4sh > t-options],
         [], [], [], [AT_CHECK([test $at_status -eq 63 && exit 77])])
 $SED "s,@LN_S\@,$LN_S,g;s,@SED\@,$SED,g" t-options > options