1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00
samba-mirror/source4/heimdal_build/wscript_configure

52 lines
1.9 KiB
Plaintext
Raw Normal View History

conf.CHECK_TYPE('u_char', 'uint8_t')
conf.CHECK_TYPE('u_int32_t', 'uint32_t')
conf.CHECK_HEADERS('err.h')
conf.CHECK_HEADERS('ifaddrs.h')
conf.CHECK_HEADERS('''crypt.h errno.h inttypes.h netdb.h signal.h sys/bswap.h
sys/file.h sys/stropts.h sys/timeb.h sys/times.h sys/uio.h sys/un.h
2010-03-15 19:22:12 +11:00
sys/utsname.h time.h timezone.h ttyname.h netinet/in.h
netinet/in6.h netinet6/in6.h libintl.h''')
conf.CHECK_HEADERS('curses.h term.h termcap.h', add_headers=False)
2010-03-15 19:22:12 +11:00
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 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)
2010-03-07 17:20:32 +11:00
conf.CHECK_FUNCS('iruserok', checklink=True)
conf.CHECK_FUNCS('bswap16')
conf.CHECK_FUNCS('bswap32')
2010-03-07 22:54:53 +11:00
conf.CHECK_TYPE('struct winsize', define='HAVE_STRUCT_WINSIZE')
conf.DEFINE('HAVE_KRB_STRUCT_WINSIZE', 1)
conf.DEFINE('VOID_RETSIGTYPE', 1)
2010-03-07 13:49:03 +11:00
conf.CHECK_VARIABLE('h_errno')
2010-03-07 13:49:03 +11:00
# strangely enough, we need it with another define too
conf.CHECK_DECLS('h_errno')
conf.CHECK_DECLS('_res')
2010-03-07 13:49:03 +11:00
conf.CHECK_HEADERS('arpa/nameser.h dns.h')
conf.CHECK_FUNCS_IN('res_search res_nsearch res_ndestroy dns_search dn_expand', 'resolv', checklibc=True)
conf.CHECK_VARIABLE('_res')
conf.CHECK_HEADERS('pty.h util.h libutil.h')
conf.CHECK_FUNCS_IN('openpty', 'util', checklibc=True)
conf.DEFINE('HAVE_KRB5',1)
conf.DEFINE('HAVE_GSSAPI',1)
conf.DEFINE('SAMBA4_INTERNAL_HEIMDAL', 1)