| 1 |
dnl $Id: configure.ac 76670 2025-10-28 02:05:09Z kakuto $ |
| 2 |
dnl Process this file with autoconf to produce a configure script. |
| 3 |
dnl |
| 4 |
dnl Copyright 2016-2020 Karl Berry <[email protected]> |
| 5 |
dnl |
| 6 |
dnl This file is free software; the copyright holder |
| 7 |
dnl gives unlimited permission to copy and/or distribute it, |
| 8 |
dnl with or without modifications, as long as this notice is preserved. |
| 9 |
dnl |
| 10 |
m4_define([autosp_version], [2025-10-26])[]dnl using unmodified autosp source |
| 11 |
AC_INIT([autosp (TeX Live)], autosp_version, [[email protected]]) |
| 12 |
AC_PREREQ([2.65]) |
| 13 |
AC_CONFIG_SRCDIR([autosp-src/autosp.c]) |
| 14 |
AC_CONFIG_AUX_DIR([../../build-aux]) |
| 15 |
AC_CONFIG_MACRO_DIR([../../m4]) |
| 16 |
|
| 17 |
KPSE_BASIC([autosp]) |
| 18 |
|
| 19 |
# Copied from autosp-src/configure.ac. |
| 20 |
# Checks for programs. |
| 21 |
AC_PROG_CC |
| 22 |
AM_PROG_CC_C_O |
| 23 |
|
| 24 |
# Checks for header files. |
| 25 |
AC_CHECK_HEADERS([stdlib.h string.h stdio.h time.h getopt.h ctype.h limits.h]) |
| 26 |
|
| 27 |
# Checks for typedefs, structures, and compiler characteristics. |
| 28 |
AC_HEADER_STDBOOL |
| 29 |
AC_TYPE_SIZE_T |
| 30 |
|
| 31 |
# Checks for library functions. |
| 32 |
AC_CHECK_FUNCS([strstr]) |
| 33 |
# End of checks from autosp-src/configure.ac. |
| 34 |
|
| 35 |
# trailing tl stuff. |
| 36 |
AC_PROG_MAKE_SET |
| 37 |
KPSE_COND_WIN32_WRAP |
| 38 |
AC_SUBST([AUTOSP_TREE], [autosp-src]) |
| 39 |
|
| 40 |
AC_CONFIG_FILES([Makefile]) |
| 41 |
AC_OUTPUT |