summaryrefslogtreecommitdiffstats
path: root/source4/heimdal_build
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-07 13:49:03 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:26:41 +1000
commitccd26e9bebc2200901981c299c7114ba25dbcf24 (patch)
treea06609c6f8c28dbfb73d6bca92e33f6d9be64af0 /source4/heimdal_build
parent73db96b5fa052ca165e3d034329f62b235643eff (diff)
downloadsamba-ccd26e9bebc2200901981c299c7114ba25dbcf24.tar.gz
samba-ccd26e9bebc2200901981c299c7114ba25dbcf24.tar.xz
samba-ccd26e9bebc2200901981c299c7114ba25dbcf24.zip
build: h_errno for heimdal
Diffstat (limited to 'source4/heimdal_build')
-rw-r--r--source4/heimdal_build/wscript_configure4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/heimdal_build/wscript_configure b/source4/heimdal_build/wscript_configure
index b56b4f5f632..c53cd39d727 100644
--- a/source4/heimdal_build/wscript_configure
+++ b/source4/heimdal_build/wscript_configure
@@ -20,8 +20,12 @@ conf.CHECK_FUNCS('bswap32')
conf.DEFINE('HAVE_KRB_STRUCT_WINSIZE', 1)
conf.DEFINE('VOID_RETSIGTYPE', 1)
+
conf.CHECK_VARIABLE('h_errno')
+# strangely enough, we need it with another define too
+conf.CHECK_VARIABLE('h_errno', define='HAVE_DECL_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')