summaryrefslogtreecommitdiff
path: root/wscript_configure_embedded_heimdal
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2021-03-30 09:39:00 +1300
committerAndrew Bartlett <abartlet@samba.org>2021-04-28 03:43:34 +0000
commite45980ff5de27b4558e7dfe0ce4c7af39d9c8b6b (patch)
treef9e5ae8a89d15f4ce54e50c3bce951d873070fdf /wscript_configure_embedded_heimdal
parentc2c09113e5598ae87dcf470cb85aaf1a62d03ba4 (diff)
downloadsamba-e45980ff5de27b4558e7dfe0ce4c7af39d9c8b6b.tar.gz
build: Use bison at build time rather than lexyacc.sh to build the embedded heimdal
Because the filenames are changed to the *.tab.{h,c} format a transitional header is added. While the built compilers differ, the output of the compilers and the resulting .o files have been verified not to have changed on Ubuntu 20.04. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Diffstat (limited to 'wscript_configure_embedded_heimdal')
-rw-r--r--wscript_configure_embedded_heimdal3
1 files changed, 3 insertions, 0 deletions
diff --git a/wscript_configure_embedded_heimdal b/wscript_configure_embedded_heimdal
index 92a29f71bf8..81cfd856c59 100644
--- a/wscript_configure_embedded_heimdal
+++ b/wscript_configure_embedded_heimdal
@@ -1,4 +1,7 @@
if not conf.env['FLEX']:
conf.fatal("Embedded Heimdal build requires flex but it was not found. Install flex or use --with-system-mitkrb5 or --with-system-heimdalkrb5")
+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')