Eric Blake <ebl...@redhat.com> writes: > On 03/09/2010 01:02 AM, Simon Josefsson wrote: >> No, I have version '2.2.6b' from debian. >> >> I noticed one thing: if I add AC_PROG_CXX to libidn/configure.ac >> everything works. So I believe this is a bug in gnulib, it is adding >> C++ files to my project so it should make sure that a C++ compiler is >> available. I see the ansi-c++-opt module, maybe it is missing some >> libtool magic? > > Which begs the question - why is gnulib-tool making C-only projects to > import C++ test files? It seems like C++ files should be excluded > unless the developer explicitly requests that both C and C++ be supported.
That would indeed be nice (I'd prefer to not ever risk having to worry about C++ compiler issues for a C library), but I'm not sure there is any capability like that in gnulib today. /Simon