Dear Nick,

Nick Bowler (2021/10/18 13:39 -0400):
> On 2021-10-18, Sébastien Hinderer <sebastien.hinde...@inria.fr> wrote:
> > Given the follwing configure.ac script:
> >
> > AC_INIT([demo], [demo], [0.1], [d...@demo.org])
> > 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.

Reply via email to