On 3 Apr 2001, Jeff Trawick wrote:
> Marc Slemko <[EMAIL PROTECTED]> writes:
>
> > On Tue, 3 Apr 2001, Jeff Trawick wrote:
> >
> > > On Solaris and Tru64 (and maybe more), my --prefix is getting ignored
> > > and instead make install is trying to put stuff in /usr/local/apache2
> > > :(
> > >
> > > looking at it now...
> >
> > ick. yea. sorry about that.
> >
> > Hmm. It is a bit of a mess trying to figure out how autoconf's
> > installation prefixes and stuff like config.layout should play together
> > nicely. Note that I'm pretty sure they didn't work "right" before either,
> > it just wasn't wrong in such a visible way...
>
> I guess this is what broke it:
right, but the thing is that IMHO you should be able to use a layout, and
then override parts of it on the command line.
that is the way things "should" be, and if they had been that way then
this wouldn't break anything. And IMHO, other things are broken (eg. "use
GNU layout but install into /foobar") even without the below change.
So I think the task is to figure out how to make layouts and autoconf play
more nicely, then that will fix this problem too. Figuring this out
though... I can take a look, but I try to be as un-autoconf-y a person as
possible.
>
> if test -z "$LAYOUT"; then
> - htdocsdir='$(prefix)/htdocs'
> - iconsdir='$(prefix)/icons'
> - cgidir='$(prefix)/cgi-bin'
> - logdir='$(prefix)/logs'
> - sysconfdir='${prefix}/conf'
> - libexecdir='${prefix}/modules'
> - layout_name=Apache
> -else
> - APACHE_LAYOUT($srcdir/config.layout, $LAYOUT)
> + LAYOUT="Apache"
> fi
> +APACHE_LAYOUT($srcdir/config.layout, $LAYOUT)
>
> Now we *must* end up using a layout...
>
> --
> Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site:
> http://www.geocities.com/SiliconValley/Park/9289/
> Born in Roswell... married an alien...
>