git.samba.org
/
resolv_wrapper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rwrap: Add support to read a resolv.conf.
[resolv_wrapper.git]
/
ConfigureChecks.cmake
diff --git
a/ConfigureChecks.cmake
b/ConfigureChecks.cmake
index 44f053f1f8c91fd681173ff902bf49e63d1cd87f..7738179c8b990892712e2d0aa0c233c93abd1d96 100644
(file)
--- a/
ConfigureChecks.cmake
+++ b/
ConfigureChecks.cmake
@@
-122,6
+122,8
@@
int main(void) {
return 0;
}" HAVE_IPV6)
+check_struct_has_member("struct __res_state" _u._ext.nsaddrs resolv.h HAVE_RESOLV_IPV6_NSADDRS)
+
check_c_source_compiles("
void log_fn(const char *format, ...) __attribute__ ((format (printf, 1, 2)));