Dear all,
Given the follwing configure.ac script:
AC_INIT([demo], [demo], [0.1], [d...@demo.org])
AC_MSG_NOTICE([abs_top_srcdir="$abs_top_srcdir"])
Tue configure script produced by autoconf 2.69 prints:
configure: abs_top_srcdir=""
Is that an expected behaviour?
Thanks,
Sébastien.
On 2021-10-18, Sébastien Hinderer 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 ex
On Mon, 18 Oct 2021, Nick Bowler wrote:
Configure scripts are always executed from the top build directory so
most of these directory variables are not needed in tests. If required,
it is easy enough to compute absolute directories in the shell:
case $srcdir in
/*) my_abs_top_srcdir=$srcdir