diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2012-06-11 19:38:54 +0200 |
---|---|---|
committer | Stefano Lattarini <stefano.lattarini@gmail.com> | 2012-06-11 19:41:52 +0200 |
commit | c5e9dac8217de5d7191a3ae8a5043609144bf767 (patch) | |
tree | efeaefc901fa2ca346884bc24c7b66978c2a2f49 /t/cxx-lt-demo.sh | |
parent | f3710b5b91b9b200d999dbc1b51e97f7256b5af4 (diff) | |
download | automake-c5e9dac8217de5d7191a3ae8a5043609144bf767.tar.gz |
tests: avoid failure due to libtool quirks in C++ demo test
Revealed by failures on NetBSD 5.1.
* t/cxx-lt-demo.sh: In "make distcheck" invocation, don't define 'CC'
to "false", as that value would be exported and passed to the child
./configure invocation, and 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 not
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 <stefano.lattarini@gmail.com>
Diffstat (limited to 't/cxx-lt-demo.sh')
-rwxr-xr-x | t/cxx-lt-demo.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/cxx-lt-demo.sh b/t/cxx-lt-demo.sh index ef2bc7871..0ccd9531a 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 : |