summaryrefslogtreecommitdiff
path: root/Build/source/utils/xindy/ac
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-02-25 19:22:25 +0000
committerKarl Berry <karl@freefriends.org>2021-02-25 19:22:25 +0000
commitad547a6b5986815fda458221149728d9d9ab1d87 (patch)
tree16296910eb3eca724371474ea9aea3994dc69614 /Build/source/utils/xindy/ac
parent947b43de3dd21d58ccc2ffadefc4441ea1c2a813 (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/utils/xindy/ac')
-rw-r--r--Build/source/utils/xindy/ac/clisp.ac17
-rw-r--r--Build/source/utils/xindy/ac/withenable.ac11
-rw-r--r--Build/source/utils/xindy/ac/xindy.ac19
3 files changed, 47 insertions, 0 deletions
diff --git a/Build/source/utils/xindy/ac/clisp.ac b/Build/source/utils/xindy/ac/clisp.ac
new file mode 100644
index 00000000000..f8122cff86c
--- /dev/null
+++ b/Build/source/utils/xindy/ac/clisp.ac
@@ -0,0 +1,17 @@
+## utils/xindy/ac/clisp.ac: configure.ac fragment for the TeX Live subdirectory utils/xindy/
+dnl
+dnl Copyright (C) 2009, 2010 Peter Breitenlohner <tex-live@tug.org>
+dnl You may freely use, modify and/or distribute this file.
+dnl
+## configure checks for xindy and clisp
+AS_CASE([$with_clisp_runtime],
+ [default], ,
+ [system], [AS_IF([test "x$enable_native_texlive_build" = xyes],
+ [AC_MSG_ERROR([you can not use the installed clisp for a native TeX Live build])])],
+ [""], [AS_IF([test "x$enable_native_texlive_build" = xyes],
+ [with_clisp_runtime=default],
+ [with_clisp_runtime=system])
+ AC_MSG_NOTICE([Assuming `--with-clisp-runtime=$with_clisp_runtime'])
+ ac_configure_args="$ac_configure_args '--with-clisp-runtime=$with_clisp_runtime'"],
+ [AS_IF([test ! -f "$with_clisp_runtime"],
+ [AC_MSG_ERROR([no such file: "$with_clisp_runtime"])])])
diff --git a/Build/source/utils/xindy/ac/withenable.ac b/Build/source/utils/xindy/ac/withenable.ac
new file mode 100644
index 00000000000..9cace7a5700
--- /dev/null
+++ b/Build/source/utils/xindy/ac/withenable.ac
@@ -0,0 +1,11 @@
+## utils/xindy/ac/withenable.ac: configure.ac fragment for TL subdir
+dnl $Id$
+dnl
+dnl Copyright 2009-2020 Karl Berry <tex-live@tug.org>
+dnl Copyright 2009-2010 Peter Breitenlohner <tex-live@tug.org>
+dnl You may freely use, modify and/or distribute this file.
+dnl
+## configure options and TL libraries required for xindy.
+KPSE_ENABLE_PROG([xindy], , [disable])
+m4_include(kpse_TL[utils/xindy/ac/xindy.ac])
+m4_include(kpse_TL[utils/xindy/ac/clisp.ac])
diff --git a/Build/source/utils/xindy/ac/xindy.ac b/Build/source/utils/xindy/ac/xindy.ac
new file mode 100644
index 00000000000..3aaedcd52a6
--- /dev/null
+++ b/Build/source/utils/xindy/ac/xindy.ac
@@ -0,0 +1,19 @@
+## utils/xindy/ac/xindy.ac: configure.ac fragment for the TeX Live subdirectory utils/xindy/
+dnl
+dnl Copyright (C) 2009-2015 Peter Breitenlohner <tex-live@tug.org>
+dnl You may freely use, modify and/or distribute this file.
+dnl
+## configure options for xindy
+m4_define_default([kpse_indent_26], [26])[]dnl
+AC_ARG_ENABLE([xindy-rules],
+ AS_HELP_STRING([--enable-xindy-rules],
+ [build and install make-rules package],
+ kpse_indent_26))[]dnl
+AC_ARG_ENABLE([xindy-docs],
+ AS_HELP_STRING([--enable-xindy-docs],
+ [build and install documentation],
+ kpse_indent_26))[]dnl
+AC_ARG_WITH([clisp-runtime],
+ AS_HELP_STRING([--with-clisp-runtime=PATH],
+ [pathname of clisp runtime to install for `xindy', `default' to derive
+ from clisp, or `system' to use installed version]))[]dnl