Re: including autoconf paths in source

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

 



-----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             ebb9@xxxxxxx
-----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-----


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://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