summaryrefslogtreecommitdiff
path: root/biblio/bibtex/bibtex-x/ac
diff options
context:
space:
mode:
Diffstat (limited to 'biblio/bibtex/bibtex-x/ac')
-rw-r--r--biblio/bibtex/bibtex-x/ac/bibtex-x.ac18
-rw-r--r--biblio/bibtex/bibtex-x/ac/withenable.ac8
2 files changed, 26 insertions, 0 deletions
diff --git a/biblio/bibtex/bibtex-x/ac/bibtex-x.ac b/biblio/bibtex/bibtex-x/ac/bibtex-x.ac
new file mode 100644
index 0000000000..528b7b0ec2
--- /dev/null
+++ b/biblio/bibtex/bibtex-x/ac/bibtex-x.ac
@@ -0,0 +1,18 @@
+## texk/bibtex-x/ac/bibtex-x.ac: configure.ac fragment for the TeX Live subdirectory texk/bibtex-x/
+dnl
+dnl Copyright (C) 2013 Peter Breitenlohner <tex-live@tug.org>
+dnl You may freely use, modify and/or distribute this file.
+dnl
+## configure options for bibtex-x
+m4_define_default([kpse_indent_26], [26])[]dnl
+m4_define([kpse_bibtex_x_progs], [bibtex8 bibtexu])[]dnl
+AC_FOREACH([Kpse_Prog], kpse_bibtex_x_progs, [dnl
+AC_ARG_ENABLE(Kpse_Prog,
+ AS_HELP_STRING([--disable-]Kpse_Prog,
+ [do not build the ]Kpse_Prog[ program],
+ kpse_indent_26))
+AS_CASE([$enable_]Kpse_Prog,
+ [yes | no], ,
+ [enable_]Kpse_Prog[=yes])
+])
+test "x$enable_bibtex_x:$enable_bibtexu" = xyes:yes && need_icu=yes
diff --git a/biblio/bibtex/bibtex-x/ac/withenable.ac b/biblio/bibtex/bibtex-x/ac/withenable.ac
new file mode 100644
index 0000000000..930c37eb9c
--- /dev/null
+++ b/biblio/bibtex/bibtex-x/ac/withenable.ac
@@ -0,0 +1,8 @@
+## texk/bibtex-x/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/bibtex-x/
+dnl
+dnl Copyright (C) 2009-2013 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 bibtex-x
+KPSE_ENABLE_PROG([bibtex-x], [kpathsea])
+m4_include(kpse_TL[texk/bibtex-x/ac/bibtex-x.ac])