| 1 |
dnl Process this file with autoconf to produce a configure script. |
| 2 |
dnl |
| 3 |
dnl Copyright (C) 2012 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([mtx], mtx_version, [[email protected]]) |
| 11 |
AC_PREREQ([2.69]) |
| 12 |
AC_CONFIG_SRCDIR([analyze.c]) |
| 13 |
AC_CONFIG_AUX_DIR([.]) |
| 14 |
|
| 15 |
AM_INIT_AUTOMAKE |
| 16 |
|
| 17 |
dnl Check compiler and flags |
| 18 |
AC_PROG_CC |
| 19 |
|
| 20 |
AM_CONDITIONAL([WIN32], [test "x$kpse_cv_have_win32" != xno]) |
| 21 |
|
| 22 |
dnl Checks for programs. |
| 23 |
AC_PROG_INSTALL |
| 24 |
AC_PROG_LN_S |
| 25 |
AC_PROG_MAKE_SET |
| 26 |
AC_PROG_RANLIB |
| 27 |
|
| 28 |
# Checks for libraries. |
| 29 |
|
| 30 |
# Checks for header files. |
| 31 |
AC_CHECK_HEADERS([memory.h stddef.h stdlib.h string.h]) |
| 32 |
|
| 33 |
# Checks for typedefs, structures, and compiler characteristics. |
| 34 |
AC_TYPE_SIZE_T |
| 35 |
|
| 36 |
# Checks for library functions. |
| 37 |
AC_CHECK_FUNCS([memchr memmove memset strchr strrchr strtol]) |
| 38 |
|
| 39 |
AC_CONFIG_FILES([Makefile]) |
| 40 |
AC_OUTPUT |