libtool-patches
[Top][All Lists]
Advanced

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

Re: AM_LIBTOOLFLAGS, maude_LIBTOOLFLAGS, and LIBTOOLFLAGS


From: Ralf Wildenhues
Subject: Re: AM_LIBTOOLFLAGS, maude_LIBTOOLFLAGS, and LIBTOOLFLAGS
Date: Tue, 14 Dec 2004 07:07:56 +0100
User-agent: Mutt/1.4.1i

* Alexandre Duret-Lutz wrote on Mon, Dec 13, 2004 at 08:42:59PM CET:
> >>> "Ralf" == Ralf Wildenhues <address@hidden> writes:
> 
>  Ralf> The --tag value would not really fit with LIBTOOLFLAGS, as that would 
> be
>  Ralf> used for more than one tag (in a package using more than one tag).
> 
> What does using more than one tag mean?  Isn't `--tag=CC --tag=CXX' the
> same as `--tag=CXX'?

The answer to your second question is yes.

Regarding the first:  If the user uses
  LIBTOOLFLAGS="--tag=CXX"

in a package with
  foo_SOURCES = foo.c bar.cc baz.f

he'll have a problem.  Surely enough, setting the tag has its uses in
LIBTOOLFLAGS sometimes, and also per-object *_LIBTOOLFLAGS can be
useful here as well (you just described how to employ per-object flags).

> Anyway there are languages for which Automake does not output
> any --tag option at all.

Yep.  I did not mean to say setting --tag in *LIBTOOLFLAGS was a bad
idea in general.

Regards,
Ralf




reply via email to

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