automake-patches
[Top][All Lists]
Advanced

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

RE: Automake,cygwin: 'make clean' with libtool wrappers...


From: Robert Collins
Subject: RE: Automake,cygwin: 'make clean' with libtool wrappers...
Date: Fri, 10 May 2002 18:06:07 +1000

> -----Original Message-----
> From: Alexandre Duret-Lutz [mailto:address@hidden 
> Sent: Thursday, May 09, 2002 7:49 AM
> To: Charles Wilson
> Cc: address@hidden; Robert Collins; address@hidden
> Subject: Re: Automake,cygwin: 'make clean' with libtool wrappers...
> 
> 
> >>> "Charles" == Charles Wilson <address@hidden> writes:
> 
> [...]
> 
>  Charles> IMO, to implement #3 means a lot of work -- you must
>  Charles> analyze all of the Makefile.am's to see if there are
>  Charles> any cxx files
> 
> I was thinking about something simpler: if my package uses C++
> files, I must have a AC_PROG_CXX in my configure.ac.  Assuming
> this has been called before AC_PROG_LIBTOOL, Libtool can check
> for this using AC_PROVIDE_IFELSE.

Why not 'cheat'? Automake knows when CXX is needed (it will complain if
AC_PROG_CXX is not present), so let automake call the libtool tag
configuration after configure time, for the needed tags. That would also
as a by-product split out the various tags making the scripts that are
executed smaller.
 
> This is really nice for a stand-alone Libtool, but not when
> embedded in a package.  It just bloats configure with useless
> tests, wasting time and space.

Agreed.

Rob



reply via email to

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