[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug relating to func_infer_tag
From: |
Ralf Wildenhues |
Subject: |
Re: bug relating to func_infer_tag |
Date: |
Sun, 2 May 2010 15:41:56 +0200 |
User-agent: |
Mutt/1.5.20 (2009-10-28) |
Hello Bruno,
* Bruno Haible wrote on Sun, May 02, 2010 at 02:00:55PM CEST:
> Can someone please look into this weird problem with libtool's func_infer_tag
> function?
>
> <http://lists.gnu.org/archive/html/bug-gnulib/2010-03/msg00120.html>
> <http://lists.gnu.org/archive/html/bug-gnulib/2010-03/msg00124.html>
> <http://lists.gnu.org/archive/html/bug-gnulib/2010-03/msg00126.html>
I think things would work if you used AC_PROG_CXX instead of
hand-written similar functionality for setting CXX. Automake and
Libtool specifically discover this macro as a sign for use of C++, may
tack code onto the end of it. You may have to move things around, so it
appears earlier in the configure script, and it may need to be called
unconditionally. Note that unless it is the very first of the compiler
macros AC_PROG_{CC,CXX,F77,FC,...} expanded, it won't fail if there is
no C++ compiler.
Using AC_PROG_CXX should enable you to drop use of internal
_AM_DEPENDENCIES([CXX]).
Hope that helps. I haven't had time to look any deeper into this,
sorry.
Cheers,
Ralf