summaryrefslogtreecommitdiff
path: root/Build/source/m4
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2011-03-16 15:51:04 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2011-03-16 15:51:04 +0000
commit805e477c290637b9736e144f3dbd262757506090 (patch)
tree80a7b1a64eb2a7d004d0bb3e1e4513c20a48e3f1 /Build/source/m4
parentfe827a9763e7de758a5b00e36c8ae99d9805237d (diff)
new Autoconf macros KPSE_CHECK_{LATEX,PDFLATEX,PERL}
git-svn-id: svn://tug.org/texlive/trunk@21732 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/m4')
-rw-r--r--Build/source/m4/kpse-progs.m425
1 files changed, 25 insertions, 0 deletions
diff --git a/Build/source/m4/kpse-progs.m4 b/Build/source/m4/kpse-progs.m4
new file mode 100644
index 00000000000..56ee68fee86
--- /dev/null
+++ b/Build/source/m4/kpse-progs.m4
@@ -0,0 +1,25 @@
+# Public macros for the TeX Live (TL) tree.
+# Copyright (C) 2011 Peter Breitenlohner <tex-live@tug.org>
+#
+# This file is free software; the copyright holder
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# KPSE_CHECK_LATEX
+# ----------------
+AC_DEFUN([KPSE_CHECK_LATEX],
+[AC_ARG_VAR([LATEX], [LaTeX command])
+AC_CHECK_PROGS([LATEX], [latex elatex lambda], [no])])
+
+# KPSE_CHECK_PDFLATEX
+# -------------------
+AC_DEFUN([KPSE_CHECK_PDFLATEX],
+[AC_ARG_VAR([PDFLATEX], [pdfLaTeX command])
+AC_CHECK_PROGS([PDFLATEX], [pdflatex], [no])])
+
+# KPSE_CHECK_PERL
+# ---------------
+AC_DEFUN([KPSE_CHECK_PERL],
+[AC_ARG_VAR([PERL], [Perl interpreter command])
+AC_CHECK_PROGS([PERL], [perl perl5], [no])])
+