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

[adding bug-autoconf]

According to Alfred M. Szmidt on 4/14/2009 3:43 AM:
>    from the ./configure documentation it seems like --prefix=/foo
>    would be preferred to destdir.
> 
> Not at all! The correct method is to use DESTDIR
> 
> 
> Using prefix in conjunction with `make install' is (almost) always
> wrong.
> 
> Problem is that configure cannot in all honesty document DESTDIR,
> since this is a variable that is passed only to make.  Indeed, if you
> are not using a Makefile, one could use any name for the variable
> prefix/exec_prefix/bindir/...

Hmmm.  Would it be worth changing autoconf to make './configure --help'
state something like the following:

| Some influential environment variables:
|   ...
|   DESTDIR    leave unset during configure; allows installation to
|              specify a staging area different than the final prefix

Perhaps even issue a warning if DESTDIR is set during configure time?  Or
would this proposal just cause more problems?

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

Eric Blake             [email protected]
-----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

iEYEARECAAYFAknkeUMACgkQ84KuGfSFAYD9zQCg0kwAzCNA9K1hY4o81PsQCKq5
CFkAoLB8yv+0V3ubdPQE0uuHVvQtQH/b
=bNQJ
-----END PGP SIGNATURE-----


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to