| 1 |
dnl Process this file with autoconf to produce a configure script. |
| 2 |
dnl |
| 3 |
dnl Copyright (C) 2009-2014 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([devnag (TeX Live)], [2.15], [[email protected]]) |
| 10 |
AC_PREREQ([2.65]) |
| 11 |
AC_CONFIG_SRCDIR([src/devnag.c]) |
| 12 |
AC_CONFIG_AUX_DIR([../../build-aux]) |
| 13 |
AC_CONFIG_MACRO_DIR([../../m4]) |
| 14 |
|
| 15 |
KPSE_BASIC([devnag]) |
| 16 |
|
| 17 |
AC_CONFIG_HEADERS([config.h])[]dnl unused, to avoid zillions of -D's on command line |
| 18 |
|
| 19 |
dnl Checks for programs. |
| 20 |
AC_PROG_CC |
| 21 |
AC_PROG_INSTALL |
| 22 |
|
| 23 |
if test "x$enable_build" != xno || test -f config.force; then |
| 24 |
|
| 25 |
AC_CHECK_FUNC([strstr], , |
| 26 |
[AC_MSG_ERROR([Sorry, your system has no strstr function.])]) |
| 27 |
|
| 28 |
echo timestamp >config.force |
| 29 |
fi |
| 30 |
|
| 31 |
AC_CONFIG_FILES([Makefile]) |
| 32 |
|
| 33 |
AC_OUTPUT |