autoconf
[Top][All Lists]
Advanced

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

Re: Which variable expands to /var?


From: Eric Blake
Subject: Re: Which variable expands to /var?
Date: Thu, 07 Feb 2008 19:36:21 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666

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

According to Keith Marshall on 2/7/2008 3:57 PM:
| On Thursday 07 February 2008 16:09, Paul Smith wrote:
|> It would be really nice for autoconf to have a standard "--use-fhs"
|> flag or similar that would set all the path variables properly for
|> FHS.
|
| Wouldn't `--enable-fhs' be a better fit with the GCS dictum on how
| `--enable-*' and `--use-*' options are to be applied?

I think the idea has merit; it seems like we would provide a macro
AC_ENABLE_FHS, which if invoked, will add the --enable-fhs
./configure-time option (or should we provide --enable-fhs
unconditionally?).  If the user uses --enable-fhs, it would populate all
of the directory variables according to FHS, but could still be overridden
by later directory names, so:

./configure --enable-fhs --docdir=$HOME/doc

would be possible.  Users that don't pass --enable-fhs would fall back to
the existing defaults of a hierarchy completely under /usr/local/.

Now, does anyone care to write the patch?

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

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

iD8DBQFHq8Al84KuGfSFAYARAkzfAJ4u/CMJhhX5Qx1AfVcoSQRVBEss+gCgmQsm
USnlNPCbN4JjrjXQpruJdzE=
=w65Z
-----END PGP SIGNATURE-----




reply via email to

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