rwrap: let configure use define HAVE_RES_STATE_U_EXT_NSADDRS
authorStefan Metzmacher <metze@samba.org>
Wed, 18 Mar 2020 16:01:48 +0000 (17:01 +0100)
committerAndreas Schneider <asn@samba.org>
Fri, 20 Mar 2020 12:20:57 +0000 (13:20 +0100)
commite47b20d78b1d5ba9b66cb054659ed338d43f469e
tree571cb5a08a94c435485fe7c8b43830da5bb89d59
parent2cc59200e35fe6251871d60a53f8a0886ec82fb5
rwrap: let configure use define HAVE_RES_STATE_U_EXT_NSADDRS

The configure check should describe what it checked for.
Let the code logic decide if that means we expect
HAVE_RESOLV_IPV6_NSADDRS to be defined.

We'll get another condition that sets HAVE_RESOLV_IPV6_NSADDRS
in the following commits.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
ConfigureChecks.cmake
config.h.cmake
src/resolv_wrapper.c
tests/test_res_init.c