Re: Site configuration files and configure defaults

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

 



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

According to Tim Post on 5/10/2008 8:34 PM:
| I have been trying to find a way to change sysconfdir to just be
| ${sysconfdir}, not ${prefix}/${sysconfdir}. I'd like to set that as a
| configure default for my program.

Sorry, but that goes against GNU Coding Standards, so autoconf itself
doesn't really permit changing this default in your configure.ac.

|
| I see that this is easy to change with site configuration files on the
| part of the user,

Yes, that is the recommended approach - if you are installing into a FHS
tree, the manual even gives the formula for this at the end of this section:

http://www.gnu.org/software/autoconf/manual/html_node/Site-Defaults.html#Site-Defaults

| but I don't see a way to change the configure
| defaults.

And for good reason.  Not everyone installs into the FHS layout, and
removing ${prefix} from the default for ${sysconfdir} will break
installation when a user does './configure --prefix=$HOME'.

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

iEYEARECAAYFAkgoPtwACgkQ84KuGfSFAYBEqgCgkTNldvEpvytYhbdYtUOffxAQ
anMAoKHD9FqPOoN2SWYo5mwJzWHGuuI3
=pE69
-----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