| 1 |
dnl Process this file with autoconf to produce a configure script. |
| 2 |
dnl |
| 3 |
dnl Copyright (C) 2011-2013 Peter Breitenlohner <[email protected]> |
| 4 |
dnl |
| 5 |
dnl This file is free software; the copyright holder |
| 6 |
dnl gives unlimited permission to copy and/or distribute it, |
| 7 |
dnl with or without modifications, as long as this notice is preserved. |
| 8 |
dnl |
| 9 |
AC_INIT([ttf2pk2 (TeX Live)], [2.0], [[email protected]]) |
| 10 |
AC_PREREQ([2.65]) |
| 11 |
AC_CONFIG_SRCDIR([ttf2pk.c]) |
| 12 |
AC_CONFIG_AUX_DIR([../../build-aux]) |
| 13 |
AC_CONFIG_MACRO_DIR([../../m4]) |
| 14 |
|
| 15 |
dnl Common code for all programs using libkpathsea. |
| 16 |
KPSE_COMMON([ttf2pk], [no-define]) |
| 17 |
|
| 18 |
AC_CONFIG_HEADERS([config.h]) |
| 19 |
|
| 20 |
m4_include([../../version.ac])[] dnl define tex_live_version |
| 21 |
AC_DEFINE([TL_VERSION], ["TeX Live tex_live_version()"], |
| 22 |
[Define to the current TeX Live version string.]) |
| 23 |
|
| 24 |
AC_SEARCH_LIBS([floor], [m]) |
| 25 |
|
| 26 |
KPSE_KPATHSEA_FLAGS |
| 27 |
KPSE_FREETYPE2_FLAGS |
| 28 |
|
| 29 |
if test "x$enable_build" != xno || test -f config.force; then |
| 30 |
|
| 31 |
KPSE_ADD_FLAGS([kpathsea]) |
| 32 |
AC_CHECK_HEADER([kpathsea/version.h], [], |
| 33 |
[AC_MSG_ERROR([Sorry, kpathsea too old])]) |
| 34 |
KPSE_RESTORE_FLAGS |
| 35 |
|
| 36 |
echo timestamp >config.force |
| 37 |
fi |
| 38 |
|
| 39 |
AC_CONFIG_FILES([Makefile]) |
| 40 |
|
| 41 |
AC_OUTPUT |