blob: 9d429875cce48b2a990df1f37b7c2af8955bf257 (
plain)
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
50
51
52
53
54
|
dnl Process this file with autoconf to produce a configure script.
dnl
dnl Copyright (C) 2009 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
AC_INIT([teckit for TeX Live], [2.5.1], [tex-k@tug.org])
AC_PREREQ([2.63])
AC_CONFIG_SRCDIR([source/UnicodeNames.cpp])
AC_CONFIG_AUX_DIR([../../build-aux])
AC_CONFIG_MACRO_DIR([../../m4])
AM_INIT_AUTOMAKE([foreign dist-bzip2])
AM_MAINTAINER_MODE
# Checks for programs.
AC_PROG_CXX
AC_PROG_CC
AC_PROG_RANLIB
AC_PROG_LN_S
KPSE_COMPILER_WARNINGS
# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([stdlib.h string.h])
AC_C_BIGENDIAN
AC_CONFIG_HEADERS([config.h])
KPSE_ZLIB_FLAGS
AM_CONDITIONAL([build], [test "x$enable_build" != xno])
# Configure must not fail, or 'make dist' will fail as well; thus
# don't run any tests for '--disable-build', there may be no zlib.
if test "x$enable_build" != xno; then
KPSE_ADD_FLAGS([zlib])
AC_CHECK_FUNC([compress], , [AC_ERROR([zlib not found])])
AC_CHECK_HEADERS([zlib.h], , [AC_ERROR([zlib not found])])
AC_DEFINE([HAVE_LIBZ], 1, [Define if you have zlib.])
KPSE_RESTORE_FLAGS
fi
AC_CONFIG_FILES([Makefile])
AC_OUTPUT
|