bug-coreutils
[Top][All Lists]
Advanced

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

Re: Core-utils 7.2; building only 'su'


From: Eric Blake
Subject: Re: Core-utils 7.2; building only 'su'
Date: Tue, 14 Apr 2009 05:53:39 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.6.666

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

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




reply via email to

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