From de2d305bfe2d5be87fe91088a97f06992281ab31 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 23 Feb 2010 16:26:22 +1100 Subject: build: add libresolv --- lib/replace/wscript | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/replace/wscript b/lib/replace/wscript index 2d06afb35d..be8ecc2c00 100644 --- a/lib/replace/wscript +++ b/lib/replace/wscript @@ -60,6 +60,7 @@ def configure(conf): conf.CHECK_HEADERS('netinet/ip.h netinet/tcp.h netinet/in_ip.h sys/sockio.h sys/un.h') conf.CHECK_HEADERS('sys/uio.h ifaddrs.h direct.h dirent.h') conf.CHECK_HEADERS('windows.h winsock2.h ws2tcpip.h') + conf.CHECK_HEADERS('resolv.h') if 'HAVE_STDDEF_H' in conf.env and 'HAVE_STDLIB_H' in conf.env: conf.DEFUN('STDC_HEADERS', 1) @@ -106,6 +107,7 @@ def configure(conf): conf.CHECK_FUNCS_IN('dlopen dlsym dlerror dlclose', 'dl') conf.CHECK_FUNCS_IN('poptGetContext', 'popt') + conf.CHECK_FUNCS_IN('res_search', 'resolv') conf.check_cc(fragment=''' #include -- cgit