From: Akim Demaille Date: Mon, 28 Oct 2002 09:31:48 +0000 (+0000) Subject: Fix robustness to libtoolize. X-Git-Tag: AUTOCONF-2.54b X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ef2d2d6d66833a17ebfeb23c3844cfe25dae217;p=thirdparty%2Fautoconf.git Fix robustness to libtoolize. --- diff --git a/tests/foreign.at b/tests/foreign.at index 419c175c5..9817c596b 100644 --- a/tests/foreign.at +++ b/tests/foreign.at @@ -49,7 +49,16 @@ AT_DATA([configure.in], AC_CONFIG_AUX_DIR(.) AC_PROG_LIBTOOL ]]) -AT_CHECK([libtoolize || exit 77], 0, [ignore], [ignore]) +AT_CHECK([libtoolize], 0, [stdout], ignore) + +# Some broken libtoolize fail to install a functional config.guess. +AT_CHECK([./config.guess || exit 77], [], [ignore], [ignore]) + +# Make sure at-path contains something valid, and let the test suite +# display it when verbose. And fail, skipping would too easily hide +# problems. +AT_CHECK([sed -n ["s,^.*\`\(/[^']*\)'.*,\1,p"] stdout], 0, [stdout]) +AT_CHECK([test -f "`cat stdout`"]) # libtoolize installed everything but install-sh... touch install-sh