|       Systems that want to
|     arrange for sysconfdir to be /etc when --prefix=/usr just have to
|     install /usr/(share|etc)/config.site with:
| 
|     test "x$sysconfdir" != 'x${prefix}/etc' || sysconfdir=/etc
| 
| I think you have misunderstood what I proposed, because this would not
| implement it.  We are failing to communicate.  I will try explaining
| the proposal at greater length; then maybe it will be clear.
| 
| My proposal is that if you do just `make install' then the default for
| prefix and sysconfdir (and maybe some other variables) should be the
| same as now.  But `make install standard_system=yes' would use
| different system-specific defaults for prefix and sysconfdir (and
| maybe some other variables).

Sorry, but I can only see failures coming up by there.  If you
configured with sysconfdir=/foo and have sysconfdir have a different
value at `make install', then you broke the installation: the program
won't find its config file.

It's a common complaint that people can

    ./configure
    make prefix=/foo
    make install prefix=/foo

People should *not* be allowed to do this (i.e., it should fail),
decisions should be made at configure, not make, so

    ./configure --prefix=/foo
    make
    make install

Please, note I am not referring to

    ./configure --prefix=/
    make
    make install prefix=/bar

which is fine with me.

Reply via email to