From 20ada92e56d0c94df0efe6899081129f17202d0f Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Fri, 12 Mar 2010 13:03:12 +0100 Subject: [PATCH] Fix problem with automake's definition of CXXLINK. --- ChangeLog | 6 ++++++ gnulib-tool | 2 ++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index c06ff8f1a8..b6d8f41be3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-03-12 Bruno Haible + + 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 * doc/gnulib-intro.texi (Steady Development): Mention Ian Beckwith's diff --git a/gnulib-tool b/gnulib-tool index b5e987fe11..0517bd47d3 100755 --- a/gnulib-tool +++ b/gnulib-tool @@ -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 -- 2.30.2