summaryrefslogtreecommitdiff
path: root/source4/heimdal_build/wscript_configure
diff options
context:
space:
mode:
Diffstat (limited to 'source4/heimdal_build/wscript_configure')
-rw-r--r--source4/heimdal_build/wscript_configure14
1 files changed, 10 insertions, 4 deletions
diff --git a/source4/heimdal_build/wscript_configure b/source4/heimdal_build/wscript_configure
index 04d77d6674..83d171cbee 100644
--- a/source4/heimdal_build/wscript_configure
+++ b/source4/heimdal_build/wscript_configure
@@ -11,11 +11,17 @@ conf.CHECK_HEADERS('''crypt.h errno.h inttypes.h netdb.h signal.h sys/bswap.h
conf.CHECK_HEADERS('curses.h term.h termcap.h', add_headers=False)
-conf.CHECK_FUNCS('''atexit cgetent getprogname setprogname inet_aton gethostname getnameinfo
- putenv rcmd readv sendmsg setitimer socket strlwr strncasecmp
+conf.CHECK_FUNCS('''atexit cgetent getprogname setprogname gethostname
+ putenv rcmd readv sendmsg setitimer strlwr strncasecmp
strptime strsep strsep_copy strtok_r strupr swab umask uname unsetenv
- closefrom hstrerror err warn errx warnx flock getipnodebyname
- getipnodebyaddr freehostent writev''')
+ closefrom err warn errx warnx flock writev''')
+
+conf.CHECK_FUNCS_IN('hstrerror', 'resolv socket nsl', checklibc=True)
+conf.CHECK_FUNCS_IN('''getnameinfo sendmsg socket getipnodebyname gethostent gethostent_r
+ sethostent endhostent getipnodebyaddr freehostent gethostbyname
+ gethostbyname_r gethostbyaddr''',
+ 'socket nsl',
+ checklibc=True)
conf.CHECK_FUNCS('iruserok', checklink=True)