autoconf
[Top][All Lists]
Advanced

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

Re: including autoconf paths in source


From: Eric Blake
Subject: Re: including autoconf paths in source
Date: Sat, 20 Dec 2008 21:35:34 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.18) Gecko/20081105 Thunderbird/2.0.0.18 Mnenhy/0.7.5.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Monty Taylor on 12/20/2008 11:57 AM:
> 
> I'm wondering if it would be worthwhile to add an AC_DEFINE form, like
> AC_DEFINE_EXPANDED, that would fully-expand things before putting them
> in config.h.

No, because that would violate GNU Coding Standards that the user be able
to override $(prefix) at make time and have it affect all the other
variables.  Really, the best solution is to do exactly what we have
already pointed you to - the gnulib module configmake is the ideal example
of how to propagate these variables into source code:
http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob;f=modules/configmake;h=5160128;hb=78f5fbf

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAklNx5YACgkQ84KuGfSFAYDZvACePl+/+2T8SlL6U1PrtEepFm94
2SsAmQHoTVZDy87ajRb1ePY95ZyHIEr6
=ty9x
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]