summaryrefslogtreecommitdiff
path: root/Build/source/utils/xindy/ac
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2010-05-11 13:45:07 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2010-05-11 13:45:07 +0000
commitc73f77e8603276a0e37a2cbe350e8d146cad9cfd (patch)
tree6265344f2cdf0becd78cf67750f44ec807abe807 /Build/source/utils/xindy/ac
parentbc7e6ba64528ec9408b8440f62e1e6de4bbabb35 (diff)
xindy 2.4, also rename xindy-new => xindy
git-svn-id: svn://tug.org/texlive/trunk@18199 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.ac9
-rw-r--r--Build/source/utils/xindy/ac/xindy.ac22
3 files changed, 48 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..9847a10127c
--- /dev/null
+++ b/Build/source/utils/xindy/ac/withenable.ac
@@ -0,0 +1,9 @@
+## utils/xindy/ac/withenable.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 options and TL libraries required for xindy
+KPSE_ENABLE_PROG([xindy], , [disable native])
+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..3bf6e2d0524
--- /dev/null
+++ b/Build/source/utils/xindy/ac/xindy.ac
@@ -0,0 +1,22 @@
+## utils/xindy/ac/xindy.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 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
+AC_ARG_WITH([xindy-recode],
+ AS_HELP_STRING([--with-recode],
+ [use `recode' instead of `iconv' to build xindy @<:@default: no@:>@]))[]dnl