On 11 Jun 2020, PGNet Dev outgrape:
> for anyone interested,  it appears the config, as advised, is a bit of a mess
>
> using _explicit_ config of
> 
>        ./configure \
>        --with-installroot=/ \
>         --mandir=/usr/local/man \
>         --bindir=/usr/local/bin \
>         --libexecdir=/usr/local/libexec/dcc \
>         --homedir=/var/lib/dcc \

Yeah, the dcc configure script is directly substituting $libexecdir etc
into the output, which isn't going to work unless the output is a
makefile or something else that can do shell-like variable substitution.
The right fix here is to repeatedly eval the variable (in configure.ac)
and only substitute it when all the $'s have gone away. (And perhaps
threshold it so that if they don't go away configure aborts and tells
you not to use self-referential variables :) ).

This is a surprisingly common autoconf error: I must have fixed it in
dozens of packages so far (but not yet DCC).

Reply via email to