On 06/11/2012 07:39 PM, Stefano Lattarini wrote: > 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. > Oops, wrong git commit message. Here is the correct one (fixed before pushing) :
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.lattar...@gmail.com> Sorry for the noise, Stefano