On Wed, 2007-11-28 at 07:49 -0800, snowcrash wrote:
> > I think as a user it's a lot easier to use and understand if you're just
> > instructed to say:
> 
> > CPPFLAGS=-I/usr/local/include LDFLAGS=-I/usr/local/lib ./configure
> >
> > instead of:
> >
> > ./configure --with-mysql=/usr/local --with-sqlite=/usr/local
> > --with-pgsql=/usr/local --with-ten-other-packages=/usr/local
> 
> again, i don't agree.  LDFLAGS, CPPFLAGS, etc are _global_ var
> instances ... used by autofoo across the entier install.  often end up
> with stuff linked-in where you don't necessarily need/want it.

That's why libraries shouldn't be added to them, only linker flags.

> > -I and -L don't really matter if they're in global CPPFLAGS/LDFLAGS.
> 
> hm? items def'd in LDFLAGS don't matter? then why your question about
> why -lsqlite is linked in?  it's _only_ coming from LDFLAGS ...
> apparently not as you expected, no?

You showed that you added it to LDFLAGS yourself. Dovecot should be
adding it automatically where needed.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to