wscript: separate embedded_heimdal from system_heimdal
commit8061983d4882f3ba3f12da71443b035d7b672eec
authorStefan Metzmacher <metze@samba.org>
Thu, 24 Jan 2019 01:31:10 +0000 (24 02:31 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Tue, 29 Jan 2019 21:09:07 +0000 (29 22:09 +0100)
tree5a0b1c92c054b28fcbcc4047f0749883083595d6
parent60b062d614ecf8fa97b3efc0e587d3ee55e4971b
wscript: separate embedded_heimdal from system_heimdal

This allows to default (embedded_heimdal) to build even with a
broken krb5-config file from Heimdal.

In the system_heimdal case we parse the content of krb5-config
instead of just executing it. This fails on FreeBSD 12 as
krb5-config contains iso-8859-1 characters, which can't be parsed
as unicode python buffers when using python3.

Fixing the system_heimdal case is a task for another day,
I guess it will only work once we imported a current heimdal version
and actually tested the system_heimdal case.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source4/heimdal_build/wscript_configure
wscript
wscript_configure_embedded_heimdal [new file with mode: 0644]
wscript_configure_system_heimdal [new file with mode: 0644]