From: Ralf Wildenhues Date: Thu, 8 Feb 2007 18:58:16 +0000 (+0000) Subject: * tests/testsuite.at (LT_AT_TAG): Skip also if the compiler X-Git-Tag: release-2-1b~204 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=213911772403f80ef6f43f43075808414c1dd361;p=thirdparty%2Flibtool.git * tests/testsuite.at (LT_AT_TAG): Skip also if the compiler variable is set to `no', not only if it is empty. --- diff --git a/ChangeLog b/ChangeLog index 6d804db29..0edfc1576 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 0b52f3ed5..406030a48 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)]) ])