Ralf Wildenhues asks: > > Fix problem with automake's definition of CXXLINK. > > * gnulib-tool (func_create_testdir): After LT_INIT, also use LT_LANG. > > Reported by Simon Josefsson and Ludovic Courtès. > > Is anyone aware of a way to reproduce the bug fixed by this patch > with gnulib-tool alone?
Here's how to: - Check out the newest gnulib. $ ./gnulib-tool --create-testdir --dir=/tmp/testdir --libtool --with-tests string $ cd /tmp/testdir - In configure.ac and gltests/configure.ac, change LT_LANG([C++]) to LT_LANG([Windows Resource]). $ autoreconf -v $ ./configure $ make Results: /bin/sh ./libtool --mode=link g++ -o test-string-c++ test-string-c++.o ../gllib/libgnu.la libtool: link: unable to infer tagged configuration libtool: link: specify a tag with `--tag' make[4]: *** [test-string-c++] Error 1 Bruno