[Top][All Lists]

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

Re: $abs_srcdir expansion

From: Ralf Wildenhues
Subject: Re: $abs_srcdir expansion
Date: Thu, 8 Jul 2010 19:38:47 +0200
User-agent: Mutt/1.5.20 (2010-04-22)

Hello Stefano,

* Peter Breitenlohner wrote on Thu, Jul 08, 2010 at 06:41:48PM CEST:
> On Thu, 8 Jul 2010, Stefano Sabatini wrote:
> >No, this will not work, because I need LDFLAGS to be defined during
> >configuration, ...
> in that case you'll have to save CFLAGS, LDFLAGS, etc. and temporarily add
> values based on $srcdir to be used during configure tests, and later restore
> these flags and add values based on ${abs_srcdir} (unexpanded) to be used in
> Makefile.

One alternative is to use $ac_abs_srcdir, but we do not like to
recommend it because it makes the resulting makefiles unmoveable,
and because the variable is not part of the official API, so you
shouldn't rely on it.  Consider yourself warned.


reply via email to

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