automake
[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: Thu, 11 Dec 2008 20:08:13 -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/11/2008 1:38 PM:
> Hey all,
> 
> I'm wondering if there is a best practice for getting paths such as
> locaeldir or datadir into source code.

Best practice is to use the Makefile to do the expansion into another file
that gets compiled.  For example, see how gnulib does it:
http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob;f=modules/configmake;h=5160128;hb=58fe6dc

- --
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

iEYEARECAAYFAklB1Z0ACgkQ84KuGfSFAYA4agCeMA6whsYiWHAaWwE0P83tO0Hd
nscAoKWTPei+xpsCIpDFskmIuFFZMeoW
=d3ra
-----END PGP SIGNATURE-----




reply via email to

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