summaryrefslogtreecommitdiff
path: root/Build/source/utils/xindy/m4/ac_prog_latex.m4
diff options
context:
space:
mode:
authorVladimir Volovich <vvv@vsu.ru>2008-03-18 00:00:20 +0000
committerVladimir Volovich <vvv@vsu.ru>2008-03-18 00:00:20 +0000
commitabdd2d2892b5ee0071ef7bf1a387251d74e78055 (patch)
treedc561d5309e02baceac6cc2a7ad9980c7a3a0adf /Build/source/utils/xindy/m4/ac_prog_latex.m4
parent1f50183588e388206c13d505102dbd9525871429 (diff)
*original* xindy-2.3 sources downloaded from
http://surfnet.dl.sourceforge.net/sourceforge/xindy/xindy-2.3.tar.gz except the directory "rte/clisp-2.43/", which contained original clisp-2.43 sources (nearly 48 MB), is removed. git-svn-id: svn://tug.org/texlive/trunk@7003 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/xindy/m4/ac_prog_latex.m4')
-rw-r--r--Build/source/utils/xindy/m4/ac_prog_latex.m419
1 files changed, 19 insertions, 0 deletions
diff --git a/Build/source/utils/xindy/m4/ac_prog_latex.m4 b/Build/source/utils/xindy/m4/ac_prog_latex.m4
new file mode 100644
index 00000000000..450eaf91daf
--- /dev/null
+++ b/Build/source/utils/xindy/m4/ac_prog_latex.m4
@@ -0,0 +1,19 @@
+dnl @synopsis AC_PROG_LATEX
+dnl
+dnl This macro test if latex is installed. If latex is installed, it
+dnl set $latex to the right value
+dnl
+dnl @category LaTeX
+dnl @author Mathieu Boretti <boretti@bss-network.com>
+dnl @version 2005-01-21
+dnl @license GPLWithACException
+
+AC_DEFUN([AC_PROG_LATEX],[
+AC_CHECK_PROGS(latex,[latex elatex lambda],no)
+export latex;
+if test $latex = "no" ;
+then
+ AC_MSG_ERROR([Unable to find a LaTeX application]);
+fi
+AC_SUBST(latex)
+])