diff --git a/ChangeLog b/ChangeLog index 6d804db2..0edfc157 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-02-08 Ralf Wildenhues + + * 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 * tests/lt_dlexit.at: Do not compile main object with libtool. diff --git a/tests/testsuite.at b/tests/testsuite.at index 0b52f3ed..406030a4 100644 --- a/tests/testsuite.at +++ b/tests/testsuite.at @@ -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)]) ])