Skip to content

Commit

Permalink
build: Use bison at build time rather than lexyacc.sh to build the em…
Browse files Browse the repository at this point in the history
…bedded 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>
  • Loading branch information
abartlet committed Apr 28, 2021
1 parent c2c0911 commit e45980f
Show file tree
Hide file tree
Showing 15 changed files with 29 additions and 3,013 deletions.
9 changes: 0 additions & 9 deletions source3/wscript
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import build.charset
from wafsamba import samba_utils
from samba_utils import TO_LIST
import samba3
from waflib.Tools import bison

default_prefix = Options.default_prefix = '/usr/local/samba'

Expand Down Expand Up @@ -1815,14 +1814,6 @@ main() {
conf.DEFINE('HAVE_TRACKER', '1')
break

Logs.info("Checking for bison")
bison.configure(conf)
if conf.env['BISON']:
conf.CHECK_COMMAND('%s --version | head -n1' % conf.env.BISON[0],
msg='Using bison version',
define=None,
on_target=False)

with_spotlight_tracker_backend = (
conf.CONFIG_SET('HAVE_TRACKER')
and conf.CONFIG_SET('HAVE_GLIB')
Expand Down
Loading

0 comments on commit e45980f

Please sign in to comment.