automake-patches
[Top][All Lists]
Advanced

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

[FYI] {maint} tests: avoid failure due to libtool quirks in C++ demo tes


From: Stefano Lattarini
Subject: [FYI] {maint} tests: avoid failure due to libtool quirks in C++ demo test
Date: Mon, 11 Jun 2012 19:39:59 +0200

Revealed by failures on NetBSD 5.1.

* t/cxx-lt-demo.sh (configure.ac): Don't define $CC to "false", as some
configure checks generated by libtool autoconf macros can still require
a C preprocessor even for packages using only C++, and bail out if it's
not found.  The problem was no apparent on Solaris and GNU/Linux because
those systems have a '/lib/cpp' program, and configure detected and used
that as a fallback C preprocessor.

Signed-off-by: Stefano Lattarini <address@hidden>
---
 t/cxx-lt-demo.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/t/cxx-lt-demo.sh b/t/cxx-lt-demo.sh
index ef2bc78..0ccd953 100755
--- a/t/cxx-lt-demo.sh
+++ b/t/cxx-lt-demo.sh
@@ -128,6 +128,6 @@ $MAKE test-objs
 VERBOSE=yes $MAKE check-TESTS
 grep 'Howdy.*Testsuite' try.log || grep 'Skip:.*cross-compiled' try.log
 
-$MAKE -e CC=false distcheck
+$MAKE distcheck
 
 :
-- 
1.7.9.5




reply via email to

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