summaryrefslogtreecommitdiff
path: root/Build/source/libs/graphite/configure.ac
blob: 6fb47eeb3e9595a11c022fbaf76f5db76829a0c2 (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
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
m4_define([silgraphite_version], [2.3.1])[]dnl using unmodified silgraphite/engine source tree
AC_INIT([silgraphite for TeX Live], silgraphite_version, [tex-k@tug.org])
AC_PREREQ([2.63])
AC_CONFIG_SRCDIR([engine-]silgraphite_version[/src/segment/GrEngine.cpp])
AC_CONFIG_AUX_DIR([../../build-aux])
AC_CONFIG_MACRO_DIR([../../m4])

AM_INIT_AUTOMAKE([foreign no-define])
AM_MAINTAINER_MODE

AC_CANONICAL_HOST

# 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_C_BIGENDIAN

# Checks for typedefs, structures, and compiler characteristics.
AC_TYPE_SIZE_T
AC_CHECK_SIZEOF([wchar_t])
AC_SUBST([SIZEOF_WCHAR_T])

AC_SEARCH_LIBS([fabsf], [m])
AC_CHECK_FUNCS([fabsf])

AM_CONDITIONAL([build], [test "x$enable_build" != xno])

GRAPHITE_TREE=[engine-]silgraphite_version
AC_SUBST([GRAPHITE_TREE])

AC_CONFIG_FILES([Makefile include/graphite/Makefile])

AC_OUTPUT