[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: abs_top_srcdir broken?
From: |
Sébastien Hinderer |
Subject: |
Re: abs_top_srcdir broken? |
Date: |
Tue, 19 Oct 2021 15:25:08 +0200 |
Dear Nick,
Nick Bowler (2021/10/18 13:39 -0400):
> On 2021-10-18, Sébastien Hinderer <Sebastien.Hinderer@inria.fr> wrote:
> > Given the follwing configure.ac script:
> >
> > AC_INIT([demo], [demo], [0.1], [demo@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.