Re: using builddir/srcdir at configure time

2006-11-25 Thread David Fang
> I am wondering if there's a reasonable way to use the top_builddir and > top_srcdir values at configure time. As in: > CPPFLAGS="$CPPFLAGS -I$top_builddir/whatever" > > When simply used as above, the value is not defined. It seems that the > value for these variables only gets defined at the en

Re: using builddir/srcdir at configure time

2006-11-25 Thread Andreas Schwab
[EMAIL PROTECTED] (Karl Berry) writes: > I am wondering if there's a reasonable way to use the top_builddir and > top_srcdir values at configure time. As in: > CPPFLAGS="$CPPFLAGS -I$top_builddir/whatever" At configure time $top_builddir == "." and $top_srcdir == $srcdir. They are only differen

using builddir/srcdir at configure time

2006-11-25 Thread Karl Berry
I am wondering if there's a reasonable way to use the top_builddir and top_srcdir values at configure time. As in: CPPFLAGS="$CPPFLAGS -I$top_builddir/whatever" When simply used as above, the value is not defined. It seems that the value for these variables only gets defined at the end, for outp