summaryrefslogtreecommitdiff
path: root/source4/heimdal_build/wscript_configure
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-17 20:21:47 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:26:38 +1000
commit07eeed33f63754b4fa4ab629e52e423b04b59bb6 (patch)
tree167f6db8447741094edd288e0f3d39e086688c5d /source4/heimdal_build/wscript_configure
parentbb1e36a86baa10be9241d22ce34b8eb9b5784577 (diff)
downloadsamba-07eeed33f63754b4fa4ab629e52e423b04b59bb6.tar.gz
samba-07eeed33f63754b4fa4ab629e52e423b04b59bb6.tar.bz2
samba-07eeed33f63754b4fa4ab629e52e423b04b59bb6.zip
build: heimdal_build waf support
heimdal now mostly builds
Diffstat (limited to 'source4/heimdal_build/wscript_configure')
-rw-r--r--source4/heimdal_build/wscript_configure37
1 files changed, 37 insertions, 0 deletions
diff --git a/source4/heimdal_build/wscript_configure b/source4/heimdal_build/wscript_configure
new file mode 100644
index 0000000000..b56b4f5f63
--- /dev/null
+++ b/source4/heimdal_build/wscript_configure
@@ -0,0 +1,37 @@
+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 curses.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
+ sys/utsname.h term.h termcap.h time.h timezone.h ttyname.h netinet/in.h
+ netinet/in6.h netinet6/in6.h libintl.h''')
+
+conf.CHECK_FUNCS('''atexit cgetent getprogname setprogname inet_aton gethostname getnameinfo
+ iruserok putenv rcmd readv sendmsg setitimer socket strlwr strncasecmp
+ strptime strsep strsep_copy strtok_r strupr swab umask uname unsetenv
+ closefrom hstrerror err warn errx warnx flock getipnodebyname
+ getipnodebyaddr freehostent writev''')
+
+conf.CHECK_FUNCS('bswap16')
+conf.CHECK_FUNCS('bswap32')
+
+conf.DEFINE('HAVE_KRB_STRUCT_WINSIZE', 1)
+conf.DEFINE('VOID_RETSIGTYPE', 1)
+conf.CHECK_VARIABLE('h_errno')
+
+conf.CHECK_HEADERS('arpa/nameser.h dns.h')
+conf.CHECK_FUNCS_IN('res_search res_nsearch res_ndestroy dns_search dn_expand', 'resolv')
+conf.CHECK_VARIABLE('_res')
+conf.CHECK_HEADERS('pty.h util.h libutil.h')
+conf.CHECK_FUNCS_IN('openpty', 'util')
+conf.CHECK_FUNCS_IN('gettext', 'intl')
+
+
+conf.DEFINE('HAVE_COM_ERR',1)
+conf.DEFINE('HAVE_KRB5',1)
+conf.DEFINE('HAVE_GSSAPI',1)
+
+conf.DEFINE('SAMBA4_INTERNAL_HEIMDAL', 1)