changeset 12982:4bf217bee1d8

Fix problem with automake's definition of CXXLINK.
author Bruno Haible <bruno@clisp.org>
date Fri, 12 Mar 2010 13:03:12 +0100
parents 7b4efba9c9f3
children 39ddc4b73387
files ChangeLog gnulib-tool
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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
--- a/gnulib-tool
+++ b/gnulib-tool
@@ -4637,6 +4637,7 @@
        | 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 @@
      | 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