diff options
author | Luigi Scarso <luigi.scarso@gmail.com> | 2018-01-17 18:00:12 +0000 |
---|---|---|
committer | Luigi Scarso <luigi.scarso@gmail.com> | 2018-01-17 18:00:12 +0000 |
commit | f100e939b3262ac391fe767d591d1a316ab59f3a (patch) | |
tree | 53787d7aa79da3a8b10df0049cfe623cf0f2bd89 /Build/source/libs/lua53/configure.ac | |
parent | 345e6b3ddab394ae88cd0d916992bc2bc0f8695d (diff) |
Luatex 1.07 --- luatex and luatex53
git-svn-id: svn://tug.org/texlive/trunk@46348 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/lua53/configure.ac')
-rw-r--r-- | Build/source/libs/lua53/configure.ac | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/Build/source/libs/lua53/configure.ac b/Build/source/libs/lua53/configure.ac new file mode 100644 index 00000000000..35bf797f79b --- /dev/null +++ b/Build/source/libs/lua53/configure.ac @@ -0,0 +1,49 @@ +dnl Process this file with autoconf to produce a configure script. +dnl +dnl Copyright (C) 2013, 2014 Peter Breitenlohner <tex-live@tug.org> +dnl +dnl This file is free software; the copyright holder +dnl gives unlimited permission to copy and/or distribute it, +dnl with or without modifications, as long as this notice is preserved. +dnl +m4_include([version.ac])[] dnl define lua53_version +AC_INIT([lua53 (TeX Live)], lua53_version, [tex-k@tug.org]) +AC_PREREQ([2.65]) +AC_CONFIG_SRCDIR([lua53-src/src/lua.c]) +AC_CONFIG_AUX_DIR([../../build-aux]) +AC_CONFIG_MACRO_DIR([../../m4]) + +KPSE_BASIC([lua53]) + +AC_PROG_CC +AC_PROG_RANLIB +AC_PROG_LN_S + +AC_SUBST([LUA53VERSION], [lua53_version]) +KPSE_LT_VERSION([lua53]) + +LT_INIT([win32-dll]) + +KPSE_DLL_NAME([texlua53], [texlua53]) + +AC_CONFIG_HEADERS([config.h])[]dnl unused, to avoid zillions of -D's on command line + +AM_CONDITIONAL([build], [test "x$enable_build" != xno]) + +AC_SEARCH_LIBS([sqrt], [m]) + +KPSE_LUA53_DEFINES +KPSE_LARGEFILE([LUA53_DEFINES]) + +if test "x$ac_cv_header_stdc" = xyes; then + LUA53_DEFINES="$LUA53_DEFINES -DHAVE_UNISTD_H" +fi + +LUA53_DEFINES="$LUA53_DEFINES -DLUA_COMPAT_5_2" +LUA53_CFLAGS="-DLUA_COMPAT_5_2" + +AC_SUBST([LUA53_TREE], [lua53-src]) + +AC_CONFIG_FILES([Makefile include/Makefile texlua53.pc]) + +AC_OUTPUT |