summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-02-23 16:26:22 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:26:36 +1000
commitde2d305bfe2d5be87fe91088a97f06992281ab31 (patch)
tree13dd81b4555bd692d452ccb3845be94db31f1fd8
parent34fb27534b97ef1020f8b022ae2c2ec3c00abeba (diff)
downloadsamba-de2d305bfe2d5be87fe91088a97f06992281ab31.tar.gz
samba-de2d305bfe2d5be87fe91088a97f06992281ab31.tar.bz2
samba-de2d305bfe2d5be87fe91088a97f06992281ab31.zip
build: add libresolv
-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>