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

Petr Spacek pspacek at redhat.com
Thu Jul 24 09:00:23 UTC 2014


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!

-- 
Petr^2 Spacek




More information about the Freeipa-devel mailing list