diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-03-20 17:51:55 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-04-06 20:26:57 +1000 |
commit | 3207f81787f33da3e25ba8d62ecb923f7aef9861 (patch) | |
tree | 2a5cfd847c9bb2805a66f5ad7a4bbeaedf8195d7 /source4 | |
parent | 508cb5b97ec843aff26d60915578b2eb6cc155fc (diff) | |
download | samba-3207f81787f33da3e25ba8d62ecb923f7aef9861.tar.gz samba-3207f81787f33da3e25ba8d62ecb923f7aef9861.tar.bz2 samba-3207f81787f33da3e25ba8d62ecb923f7aef9861.zip |
build: more functions that are in -lsocket -lnsl on some systems
Diffstat (limited to 'source4')
-rw-r--r-- | source4/heimdal_build/wscript_configure | 14 |
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) |