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. Cheers, Ralf _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf