Ethereal-dev: Re: [ethereal-dev] Adding autoconf options

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

Date: Thu, 13 Apr 2000 02:07:24 -0400 (EDT)
On 12 Apr, Guy Harris wrote:
>> Use CPPFLAGS to handle include directories and LDFLAGS to handle
>> libraries.
> 
> "Use CPPFLAGS ... and LDFLAGS" in what sense?
> 
> Our configure script already sets those internally; I'm asking about the
> user interface (i.e., how does the user tell the configure scripts in
> which directories to add to CPPFLAGS and LDFLAGS), not the
> implementation (which would set CPPFLAGS and LDFLAGS to include those
> directories, as we currently already do for "/usr/include" and the
> directory specified by "--with-ucdsnmp=").
> 

CPPFLAGS="-I/opt/something/include" LDFLAGS="-L/opt/something/lib" ./configure


autoconf inherits the settings from the environment.

-- 
Doug Nazar
Dragon Computer Consultants Inc.
Tel: (416) 708-1578     Fax: (416) 708-8081