libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FYI: change ac_ext (was: MSYS+MSVC for libtool branch-2-0, take 7)


From: Ralf Wildenhues
Subject: FYI: change ac_ext (was: MSYS+MSVC for libtool branch-2-0, take 7)
Date: Wed, 10 Aug 2005 08:26:11 +0200
User-agent: Mutt/1.4.1i

Hi Noah, Peter,

* Noah Misch wrote on Wed, Aug 10, 2005 at 02:51:48AM CEST:
> On Fri, Aug 05, 2005 at 05:53:14PM +0200, Ralf Wildenhues wrote:
> > * Peter Ekberg wrote on Fri, Jul 22, 2005 at 09:37:47AM CEST:
> 
*snip*
> > > So, I made this dirty change:
> > > ac_ext=cpp
> > > instead of
> > > ac_ext=cc
> 
> > Still, we should think of changing ac_ext so it works out of the box.
> > Doesn't this need a patch against Autoconf?
> 
> CVS Autoconf uses `.cpp' as of 2005-05-05.

I remembered there was discussion about it, but I wrongly thought it had
been rejected at that time for some reason.  Thanks for reminding me!
I've reread that report now, and given this note[1] I'm confident this
is the right thing to do.

I've applied this change separately to all three branches (hope you
don't mind I did that for you :).

Cheers,
Ralf

[1] http://lists.gnu.org/archive/html/bug-autoconf/2005-05/msg00001.html

2005-08-10  Peter Ekberg  <address@hidden>

        * m4/libtool.m4 (_LT_LANG_CXX_CONFIG): Set ac_ext to cpp, not cc.

Index: m4/libtool.m4
===================================================================
RCS file: /cvsroot/libtool/libtool/m4/libtool.m4,v
retrieving revision 1.208
diff -u -r1.208 libtool.m4
--- m4/libtool.m4       8 Aug 2005 09:23:57 -0000       1.208
+++ m4/libtool.m4       10 Aug 2005 06:24:08 -0000
@@ -4744,7 +4744,7 @@
 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
 
 # Source file extension for C++ test sources.
-ac_ext=cc
+ac_ext=cpp
 
 # Object file extension for compiled C++ test sources.
 objext=o




reply via email to

[Prev in Thread] Current Thread [Next in Thread]