Skip to content

Commit

Permalink
feat(build): Default to LuaJIT like SILE, provide option for switching
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Nov 3, 2023
1 parent c621a42 commit 77496ed
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ AX_PROGVAR([xargs])

AX_RUST_BOILERPLATE

AC_ARG_WITH([luajit],
AS_HELP_STRING([--without-luajit],
[Prefer LuaJIT over PUC Lua, even if the latter is newer]))
AM_CONDITIONAL([LUAJIT], [test "x$with_luajit" != "xno"])

AM_COND_IF([DEPENDENCY_CHECKS], [
# Run time deps
Expand Down
3 changes: 2 additions & 1 deletion hooks/build
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ RUNTIME_DEPS='bc bcprov curl decasify entr epubcheck fontconfig ghostscript git
' pandoc-sile-git pcre pdftk podofo-tools poppler povray sassc sile sqlite'\
' texlive-binextra texlive-xetex texlive-formatsextra texlive-latexextra texlive-langenglish texlive-langother texlive-langcyrillic'\
' tex-gyre-fonts ttf-hack yq zint zola zsh'\
' lua luajit-openresty luarocks lua-decasify lua51-decasify lua-colors-git lua51-colors-git lua-filesystem lua51-filesystem lua-yaml lua51-yaml'\
' lua lua-yaml lua-decasify'\
' luajit luarocks lua51-cldr lua51-cosmo lua51-decasify lua51-fluent lua51-lpeg lua51-luautf8 lua51-unicode lua51-yaml'\
' perl perl-yaml perl-yaml-merge-simple'\
' python python-isbnlib python-deepl python-pandocfilters python-pantable python-ruamel-yaml python-usfm2osis-cw-git'\
' xcftools xorg-server-xvfb'
Expand Down

0 comments on commit 77496ed

Please sign in to comment.