| 1 |
dnl Process this file with autoconf to produce a configure script. |
| 2 |
dnl |
| 3 |
dnl Copyright (C) 2009-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([afm2pl (TeX Live)], [0.7.1], [[email protected]]) |
| 10 |
AC_PREREQ([2.65]) |
| 11 |
AC_CONFIG_SRCDIR([afm2pl.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([afm2pl]) |
| 17 |
|
| 18 |
AC_CONFIG_HEADERS([c-auto.h:c-auto.in]) |
| 19 |
|
| 20 |
AC_SEARCH_LIBS([floor], [m]) |
| 21 |
|
| 22 |
KPSE_KPATHSEA_FLAGS |
| 23 |
|
| 24 |
if test "x$enable_build" != xno || test -f config.force; then |
| 25 |
|
| 26 |
KPSE_ADD_FLAGS([kpathsea]) |
| 27 |
AC_CHECK_HEADER([kpathsea/version.h], [], |
| 28 |
[AC_MSG_ERROR([Sorry, kpathsea too old])]) |
| 29 |
KPSE_RESTORE_FLAGS |
| 30 |
|
| 31 |
echo timestamp >config.force |
| 32 |
fi |
| 33 |
|
| 34 |
AC_CONFIG_FILES([Makefile]) |
| 35 |
|
| 36 |
AC_OUTPUT |