[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: $sysconfdir substitution
From: |
Kip Warner |
Subject: |
Re: $sysconfdir substitution |
Date: |
Fri, 10 Jun 2016 14:10:57 -0700 |
On Fri, 2016-06-10 at 15:37 -0400, Nick Bowler wrote:
> It would be possible to make this work by writing sh code to expand
> the variables, but it is not recommended. Users are supposed to be
> able to set installation directory variables on the make command
> line, e.g.,
>
> make sysconfdir=/some/where
>
> and substituting expanded paths in AC_CONFIG_FILES will usually fail
> in this situation.
>
> Instead, the straightforward approach is to generate the files with a
> make rule, as suggested by Peter Johansson.
Yeah, this is one of my big reservations in substituting the the
expanded paths in AC_CONFIG_FILES because the user can override when
they run make.
*sigh* Maybe I will have to do it through Automake after all...
--
Kip Warner -- Senior Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com
signature.asc
Description: This is a digitally signed message part