Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Ethereal-dev: Re: [Ethereal-dev] autoconf patches to 0.8.16

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

Date: Thu, 8 Mar 2001 02:43:38 -0600
On Thu, Mar 08, 2001 at 12:34:08AM -0800, Guy Harris wrote:
> On Thu, Mar 08, 2001 at 02:28:39AM -0600, ethereal-dev@xxxxxxxxxxxxxxxxxx wrote:
> > I suppose. How about we go back to the original unless others chime in
> > for the above? Or, I could just do it (even if we do the above, we'd
> > still maintain a local patch to remove it because we don't have a
> > "/usr/local" equivalent here).
> 
> Why is the lack of a "/usr/local" equivalent a problem?

On Solaris, you:
  AC_ETHEREAL_ADD_DASH_L(LDFLAGS, /usr/local/lib)

This adds -R/usr/local/lib regardless of whether or not anything is
found in /usr/local/lib. In the case of ${prefix}/lib, it would add
-R${prefix}/lib which I suppose isn't too icky (we're compiling to
/<blah>/ethereal08). Our preference is to -R only from those
directories we need shared libraries from.

Also, if we hand off our build scripts to someone with a different
environment, we have less guarantee about what gets picked up (looking
at configure.in, you append -I/usr/local/include and -L/usr/local/lib
so we should be safe but we generally remove hard-coded references to
/usr/local from any program we build).

-- 
albert chin (china@xxxxxxxxxxxxxxxxxx)