* tests/testsuite.at (LT_AT_TAG): Skip also if the compiler

variable is set to `no', not only if it is empty.
This commit is contained in:
Ralf Wildenhues 2007-02-08 18:58:16 +00:00
parent 921ef22f1a
commit 2139117724
2 changed files with 6 additions and 1 deletions

View File

@ -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.

View 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)])
])