Applied to HEAD, to sync with how _LT_PROG_F77, _LT_PROG_F77, and
_LT_PROG_FC treat both empty and `no' as "not present".
Cheers,
Ralf
2007-02-08 Ralf Wildenhues <[EMAIL PROTECTED]>
* tests/testsuite.at (LT_AT_TAG): Skip also if the compiler
variable is set to `no', not only if it is empty.
Index: tests/testsuite.at
===================================================================
RCS file: /cvsroot/libtool/libtool/tests/testsuite.at,v
retrieving revision 1.46
diff -u -r1.46 testsuite.at
--- tests/testsuite.at 28 Jan 2007 12:43:37 -0000 1.46
+++ tests/testsuite.at 8 Feb 2007 18:57:24 -0000
@@ -169,7 +169,7 @@
# --------------
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)])
])