Re: abs_top_srcdir broken?

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

 



Dear Nick,

Nick Bowler (2021/10/18 13:39 -0400):
> On 2021-10-18, Sébastien Hinderer <Sebastien.Hinderer@xxxxxxxx> wrote:
> > Given the follwing configure.ac script:
> >
> > AC_INIT([demo], [demo], [0.1], [demo@xxxxxxxx])
> > AC_MSG_NOTICE([abs_top_srcdir="$abs_top_srcdir"])
> >
> > [The] configure script produced by autoconf 2.69 prints:
> >
> > configure: abs_top_srcdir=""
> >
> > Is that an expected behaviour?
>
> I don't know about "expected" but it appears to at least be longstanding
> behavour.  This variable is substituted into output files but this is
> done directly by config.status and is not itself available within
> configure scripts.

Many thanks! That was the bit I missed. I think it's the first time I am
faced to this behaviour of a variable that will indeed get substituted
by ocnfigu.status but whose value is not available in configure itself.

Many thanks for having made this clear to me!

Best wishes,

Sébastien.




[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux