]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Fix robustness to libtoolize. AUTOCONF-2.54b
authorAkim Demaille <akim@epita.fr>
Mon, 28 Oct 2002 09:31:48 +0000 (09:31 +0000)
committerAkim Demaille <akim@epita.fr>
Mon, 28 Oct 2002 09:31:48 +0000 (09:31 +0000)
tests/foreign.at

index 419c175c5ba3e31c5f4b8b6d287f0c527da8db4f..9817c596bb5ff055245f66227500ff09ccab50a5 100644 (file)
@@ -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