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:13:11 -0600
On Thu, Mar 08, 2001 at 12:06:36AM -0800, Guy Harris wrote:
> On Thu, Mar 08, 2001 at 02:02:00AM -0600, ethereal-dev@xxxxxxxxxxxxxxxxxx wrote:
> > From the original email:
> > >   3. Remove hard-coding /usr/local/include and /usr/local/lib. This
> > >      is gross.
> > 
> > :)
> > 
> > --with-pcap --prefix=/usr/local should check /usr/local/include.
> > /usr/local/lib won't be checked after my patch.
> 
> As far as I'm concerned, requiring "--prefix=/usr/local" is vastly more
> gross than hard-coding "/usr/local/{include,lib}"
> ("/usr/local/{include,lib}" is a rather common convention on
> UNIX-flavored OSes); I would consider requiring "--prefix=/usr/local" in
> the next release to be an unacceptable regression.
> 
> If there's no other way to ensure that it'll find packages in
> "/usr/local", put the hard-coding back, gross though you think it may
> be.

I just looked at configure and if --prefix is not specified, the
default is /usr/local. I know that /usr/local/lib is not checked in
the new PCAP and ZLIB macros. How about we force /usr/local/include
and /usr/local/lib *only* if $prefix = "/usr/local"? If not, I'll just
put things back the way they were and we'll maintain a local patch to
remove the stuff. It's better than more people benefit than us.

-- 
albert chin (china@xxxxxxxxxxxxxxxxxx)