non-standard CPPFLAGS (at least) are dropped in configure.in

Richard Sharpe rsharpe at richardsharpe.com
Thu Aug 14 21:48:44 GMT 2003


On Thu, 14 Aug 2003, Alexander Bokovoy wrote:

> On Thu, Aug 14, 2003 at 01:47:07PM -0700, Volker Lendecke wrote:
> > Hi, Richard!
> > 
> > I need the attached patch to configure.in to make configure find my 
> > ldap.h in /space/ldap/include using an explicit
> > CPPFLAGS=-I/space/ldap/include. Alexander tells me it's wrong, but for
> > me it works. Would you mind to take a look at it?
> It is wrong in that sense that we don't need to restore LIBS/LDFLAGS in
> case of success as we do with CPPFLAGS because we deal correctly with
> them. It was only CPPFLAGS variable overused.

Hmmm, I think we will have to restore LIBS correctly if the iconv path was 
specified, though.

Also, I wonder what LIBS="$save_LIBS $LIBS" is doing in there. That looks 
totally wrong.

Regards
-----
Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, 
sharpe[at]ethereal.com, http://www.richardsharpe.com




More information about the samba-technical mailing list