diff options
author | Karl Berry <karl@freefriends.org> | 2021-02-25 19:22:25 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-02-25 19:22:25 +0000 |
commit | ad547a6b5986815fda458221149728d9d9ab1d87 (patch) | |
tree | 16296910eb3eca724371474ea9aea3994dc69614 /Build/source/texk/mendexk/configure.ac | |
parent | 947b43de3dd21d58ccc2ffadefc4441ea1c2a813 (diff) |
restore Build,TODO from r57911
git-svn-id: svn://tug.org/texlive/trunk@57915 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/mendexk/configure.ac')
-rw-r--r-- | Build/source/texk/mendexk/configure.ac | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/Build/source/texk/mendexk/configure.ac b/Build/source/texk/mendexk/configure.ac new file mode 100644 index 00000000000..89f48b15219 --- /dev/null +++ b/Build/source/texk/mendexk/configure.ac @@ -0,0 +1,42 @@ +dnl $Id$ +dnl Process this file with autoconf to produce a configure script. +dnl +dnl Copyright 2015-2020 Karl Berry <tex-live@tug.org> +dnl Copyright 2010-2015 Peter Breitenlohner <tex-live@tug.org> +dnl +dnl This file is free software; the copyright holder +dnl gives unlimited permission to copy and/or distribute it, +dnl with or without modifications, as long as this notice is preserved. +dnl +AC_INIT([mendex (TeX Live)], [3.2]) +AC_PREREQ([2.63]) +AC_CONFIG_SRCDIR([main.c]) +AC_CONFIG_AUX_DIR([../../build-aux]) +AC_CONFIG_MACRO_DIR([../../m4]) + +dnl Common code for all programs using libkpathsea. +KPSE_COMMON([mendexk], [no-define]) + +AC_CONFIG_HEADERS([c-auto.h:c-auto.in]) + +m4_include([../../version.ac])[] dnl define tex_live_version +AC_DEFINE([TL_VERSION], ["TeX Live tex_live_version()"], + [Define to the current TeX Live version string.]) + +AC_CACHE_CHECK([if C99 variadic macros are supported], + [kpse_cv_have___VA_ARGS__], + [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <stdio.h> +#define foo(format, ...) printf(format, __VA_ARGS__)]], + [[foo("%s\n", "Hi, there");]])], + [kpse_cv_have___VA_ARGS__=yes], + [kpse_cv_have___VA_ARGS__=no])]) +AS_CASE([$kpse_cv_have___VA_ARGS__], + [yes], [AC_DEFINE([HAVE___VA_ARGS__], 1, + [Define to 1 if you have C99 variadic macros.])]) + +KPSE_KPATHSEA_FLAGS +KPSE_PTEXENC_FLAGS + +AC_CONFIG_FILES([Makefile]) + +AC_OUTPUT |