Fix problem with automake's definition of CXXLINK.
authorBruno Haible <bruno@clisp.org>
Fri, 12 Mar 2010 12:03:12 +0000 (13:03 +0100)
committerBruno Haible <bruno@clisp.org>
Fri, 12 Mar 2010 12:03:12 +0000 (13:03 +0100)
ChangeLog
gnulib-tool

index c06ff8f..b6d8f41 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2010-03-12  Bruno Haible  <bruno@clisp.org>
 
+       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.
+
+2010-03-12  Bruno Haible  <bruno@clisp.org>
+
        * doc/gnulib-intro.texi (Steady Development): Mention Ian Beckwith's
        stable releases.
 
index b5e987f..0517bd4 100755 (executable)
@@ -4637,6 +4637,7 @@ func_create_testdir ()
        | sed -e '/^$/d;' -e 's/AC_REQUIRE(\[\([^()]*\)\])/\1/'
      if test "$libtool" = true; then
        echo "LT_INIT([win32-dll])"
+       echo "LT_LANG([C++])"
        echo "AM_CONDITIONAL([GL_COND_LIBTOOL], [true])"
        echo "gl_cond_libtool=true"
      else
@@ -4761,6 +4762,7 @@ func_create_testdir ()
      | sed -e '/^$/d;' -e 's/AC_REQUIRE(\[\([^()]*\)\])/\1/'
    if test "$libtool" = true; then
      echo "LT_INIT([win32-dll])"
+     echo "LT_LANG([C++])"
      echo "AM_CONDITIONAL([GL_COND_LIBTOOL], [true])"
      echo "gl_cond_libtool=true"
    else