Vanilla List Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [VANILLA-LIST:3139] GNU make required



On Sat, May 27, 2000 at 08:09:30PM -0700, Trent Piepho wrote:
> On Sat, 27 May 2000, Tom Holub wrote:
> > > 
> > > It's also a pain in the as to get an autoconf program to compile if it doesn't
> > > work out of the box.  If the autoconf script can't find a library and include
> > > and you know where it is, it can sometime be impossible to tell autoconf that. 
> > 
> > setenv LDFLAGS /opt/local/lib
> > ./configure
> 
> What if you have multiple directories you need to include?  What if you have
> to specify the names of the libraries?  What if some targets need different
> libraries than others?

setenv LDFLAGS "-L/usr/local/lib -L/opt/local/lib -l/opt/local/lib/libfoo.a".
etc.

If some targets need different libraries, you can still just edit the
Makefile.
 -Tom