Re: $sysconfdir substitution

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux