From xemacs-m  Tue Jun 17 10:49:56 1997
Received: from newman.aventail.com (root@newman.aventail.com [199.238.236.1])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id KAA21099
	for <xemacs-beta@xemacs.org>; Tue, 17 Jun 1997 10:49:55 -0500 (CDT)
Received: from kramer.in.aventail.com.aventail.com (wmperry@kramer.in.aventail.com [192.168.1.12])
	by newman.aventail.com (8.8.5/8.8.5) with SMTP id IAA11573;
	Tue, 17 Jun 1997 08:49:56 -0700 (PDT)
To: Hrvoje Niksic <hniksic@srce.hr>
Cc: XEmacs Developers <xemacs-beta@xemacs.org>
Subject: Re: IRIX 6.2 "Oslo" success
References: <9706171436.AA26440@grind.icd.teradyne.com> <kig67vdfdc8.fsf@jagor.srce.hr>
Errors-to: wmperry@aventail.com
Reply-to: wmperry@aventail.com
X-Face: O~Rn;(l][/-o1sALg4A@xpE:9-"'IR[%;,,!m7</SYF`{vYQ(&RI1&EiH[FvT;J}@f!4kfz
 x_!Y#=y{Uuj9GvUi=cPuajQ(Z42R[wE@{G,sn$qGr5g/wnb*"*ktI+,CD}1Z'wxrM2ag-r0p5I6\nA
 [WJopW_J.WY;
From: wmperry@aventail.com (William M. Perry)
Date: 17 Jun 1997 08:49:56 -0700
In-Reply-To: Hrvoje Niksic's message of 17 Jun 1997 17:39:35 +0200
Message-ID: <86g1uhb55n.fsf@kramer.in.aventail.com>
Lines: 55
X-Mailer: Gnus v5.4.49/Emacs 19.34

Hrvoje Niksic <hniksic@srce.hr> writes:

> Vinnie Shelton  <shelton@icd.teradyne.com> writes:
> 
> > It's completely bass-ackward to have an option to *disable* checking
> > in /usr/local; we already have an option to *enable* such a thing,
> > we just need to have the configurers use it and to disable the
> > current behavior.  In other words, let's take out the automatic
> > checking of /usr/local, and instruct builders to use
> > --site-includes=/usr/local/include and
> > --site-runtime-libraries=/usr/local/lib.
> 
> I think that's complicating matters.  I like the features as they are
> now.
> 
> In fact, I think we should do all we can to make building of source
> releases *easier* instead of harder.  If at all possible, the sequence
> consisting of:
> 
> ./configure && make install
> 
> should produce a good XEmacs.  The reason for this is that if we (for any
> imaginable reason) give up binary releases people are grown used to, we'd
> better have the configure+make process topnotch.

  We should also not surprise the user too much.  We should definitely make
it easier for the user, but I don't think we should hunt around their
system for things without explicitly being told to.  If they really always
want /usr/local/(include|lib) searched, they should configure their
environment to do this _all_the_time_.

  I think we should make it easier for someone to add something to includes
and libraries (and perhaps site-runtime-libraries).  Something along the
lines of:

if test -n "$site_prefix" ; then
  for arg in $site_prefix; do
    XE_APPEND("$arg/include", c_switch_site)
    XE_APPEND("$arg/lib", ld_switch_site)
    LD_RUN_PATH="$LD_RUN_PATH:$ld_switch_site"
    export LD_RUN_PATH
  done
fi

  so you could just do:

./configure --site-prefix=/usr/local

And get the equivalent of:

./configure --site-includes=/usr/local/include \
            --site-libraries=/usr/local/lib    \
            --site-runtime-libraries=/usr/local/lib

-Bill P.

