File: configure.ac

package info (click to toggle)
texlive-bin 2018.20181218.49446-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 186,920 kB
  • sloc: ansic: 873,264; cpp: 311,278; perl: 82,918; sh: 23,243; makefile: 8,590; lex: 4,939; python: 4,462; pascal: 3,813; java: 3,569; yacc: 2,901; tcl: 2,379; exp: 2,031; xml: 844; ruby: 678; lisp: 398; sed: 331; asm: 140; csh: 46; awk: 30
file content (49 lines) | stat: -rw-r--r-- 1,277 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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