[Freeipa-devel] [PATCH][bind-dyndb-ldap] AUTOCONF: Improve detection of bind9 header files

Tomas Hozza thozza at redhat.com
Wed Nov 26 11:33:16 UTC 2014


On 11/12/2014 03:30 PM, Petr Spacek wrote:
> On 24.7.2014 11:00, Petr Spacek wrote:
> > On 27.2.2014 15:19, Lukas Slebodnik wrote:
> >> ehlo,
> >>
> >> I did some reviews of bind-dyndb-ldap last week  and it was little bit annoying
> >> to export special CFLAGS for bind9 header files. It can be automatically
> >> detected in configure script using utility isc-config.
> >>
> >> Attached patch should improve this and CFLAGS needn't be exported.
> >
> > Kind NACK. It would be valuable to test if isc/errno2result.h header is
> > present and throw appropriate error.
> >
> > Current check with isc-config.sh only will pass if you have bind-devel package
> > installed but you are missing bind-lite-devel package.
> >
> >
> > I have a question: How
> > +ldap_la_CFLAGS = $(BIND9_CFLAGS) -Wall -Wextra @WERROR@ -std=gnu99
> > works?
> >
> > Will it take user-defined CFLAGS into account? I would like to place
> > user-defined flags at the end of the list so you can easily override settings
> > given by autotools.
> >
> > Thank you for clarification :-)
> >
> >
> > I will be really happy to commit complete fix. Thank you for cleaning this
> > autotools mess!
>
> This version actually works. Previous version did not take CFLAGS from
> isc-config.sh into account during libdns version check so it actually did not
> work at all :-)
>
> Please review it (and send me a modified patch if you see a problem).
>
> Thank you for your time!
>
ACK.

No need to export CPPFLAGS any more!

Regards,
-- 
Tomas Hozza
Software Engineer - EMEA ENG Developer Experience

PGP: 1D9F3C2D
Red Hat Inc. http://cz.redhat.com




More information about the Freeipa-devel mailing list