libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FYI: HEAD: skip C++ tests if CXX=no


From: Ralf Wildenhues
Subject: FYI: HEAD: skip C++ tests if CXX=no
Date: Thu, 8 Feb 2007 19:57:41 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

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  <address@hidden>

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]