| 1 |
dnl Process this file with autoconf to produce a configure script. |
| 2 |
dnl |
| 3 |
dnl Copyright (C) 2012-2015 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 |
m4_include([version.ac])[] dnl define mtx_version |
| 10 |
AC_INIT([m-tx (TeX Live)], mtx_version, [[email protected]]) |
| 11 |
AC_PREREQ([2.65]) |
| 12 |
AC_CONFIG_SRCDIR([mtx-src/analyze.c]) |
| 13 |
AC_CONFIG_AUX_DIR([../../build-aux]) |
| 14 |
AC_CONFIG_MACRO_DIR([../../m4]) |
| 15 |
|
| 16 |
KPSE_BASIC([m-tx]) |
| 17 |
|
| 18 |
dnl Check compiler and flags |
| 19 |
AC_PROG_CC |
| 20 |
|
| 21 |
dnl Checks for programs. |
| 22 |
AC_PROG_INSTALL |
| 23 |
AC_PROG_LN_S |
| 24 |
AC_PROG_MAKE_SET |
| 25 |
AC_PROG_RANLIB |
| 26 |
|
| 27 |
# Checks for libraries. |
| 28 |
|
| 29 |
# Checks for header files. |
| 30 |
AC_CHECK_HEADERS([memory.h stddef.h stdlib.h string.h strings.h]) |
| 31 |
|
| 32 |
# Checks for typedefs, structures, and compiler characteristics. |
| 33 |
AC_TYPE_SIZE_T |
| 34 |
|
| 35 |
# Checks for library functions. |
| 36 |
AC_CHECK_FUNCS([memchr memmove memset strchr strrchr strtol]) |
| 37 |
|
| 38 |
AC_SUBST([MTX_TREE], [mtx-src]) |
| 39 |
|
| 40 |
AC_CONFIG_FILES([Makefile]) |
| 41 |
AC_OUTPUT |