summaryrefslogtreecommitdiff
path: root/lib/replace/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'lib/replace/wscript')
-rw-r--r--lib/replace/wscript2
1 files changed, 2 insertions, 0 deletions
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 <stdarg.h>