BACKPORT source4/libcli/ldap/ldap_bind.c from master
[metze/samba/wip.git] / wscript_configure_embedded_heimdal
index 81cfd856c59a9ecfceb45c30e81f36deb6b31eee..45f47721dec4246850cd306d8e9feaaac966c5f0 100644 (file)
@@ -4,4 +4,12 @@ if not conf.env['FLEX']:
 if not conf.env['BISON']:
     conf.fatal("Embedded Heimdal build requires bison but it was not found.  Install bison or use --with-system-mitkrb5 or --with-system-heimdalkrb5")
 
-conf.RECURSE('source4/heimdal_build')
+conf.define('USING_EMBEDDED_HEIMDAL', 1)
+conf.RECURSE('third_party/heimdal_build')
+
+#
+# See https://github.com/heimdal/heimdal/pull/1234
+# and https://github.com/krb5/krb5/pull/1329
+# when this will be available also in
+# system libraries...
+conf.define('HAVE_CLIENT_GSS_C_CHANNEL_BOUND_FLAG', 1)