]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* tests/testsuite.at (LT_AT_TAG): Skip also if the compiler
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Thu, 8 Feb 2007 18:58:16 +0000 (18:58 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Thu, 8 Feb 2007 18:58:16 +0000 (18:58 +0000)
variable is set to `no', not only if it is empty.

ChangeLog
tests/testsuite.at

index 6d804db290f12a773ceac33359078ca25b8d49f7..0edfc15764c919dbb478880f984d0b571130ab46 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-02-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * tests/testsuite.at (LT_AT_TAG): Skip also if the compiler
+       variable is set to `no', not only if it is empty.
+
 2007-02-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        * tests/lt_dlexit.at: Do not compile main object with libtool.
index 0b52f3ed5cb359d4264b733a94fc7a5bc357fda6..406030a48f5fc8b09c264ce385974fc22311bda5 100644 (file)
@@ -169,7 +169,7 @@ m4_define([LT_AT_EXEC_CHECK],
 # --------------
 m4_define([LT_AT_TAG],
 [AT_KEYWORDS([$1])
-AT_CHECK([test -n "[$]$1" || (exit 77)])
+AT_CHECK([{ test -n "[$]$1" && test "X[$]$1" != Xno; } || (exit 77)])
 ])