1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
2
"http://www.w3.org/TR/html4/strict.dtd">
6
Autoconf Macro: ac_prog_latex
8
<link rel="stylesheet" type="text/css" href="autoconf-archive.css">
11
<table summary="web navigation" style="width:100%;">
14
<td style="width:25%;" align="center" valign="top">
15
<a href="http://autoconf-archive.cryp.to/ac_prog_latex.m4">Download M4
18
<td style="width:25%;" align="center" valign="top">
20
"http://git.cryp.to/autoconf-archive?a=history;f=ac_prog_latex.m4">Macro
23
<td style="width:25%;" align="center" valign="top">
24
<a href="macros-by-category.html">Category Index</a>
26
<td style="width:25%;" align="center" valign="top">
27
<form method="get" action="http://www.google.com/search">
29
<input name="sitesearch" value="autoconf-archive.cryp.to" type=
30
"hidden"><a href="http://www.google.com/">Search</a>: <input name="q"
31
size="10" maxlength="255" type="text">
46
Replaced by <a href="acltx_prog_latex.html">ACLTX_PROG_LATEX</a>.
51
<p class="indent" style="white-space:nowrap;">
52
<code>AC_PROG_LATEX</code>
59
This macro test if latex is installed. If latex is installed, it set $latex
67
Mathieu Boretti <boretti@eig.unige.ch>
79
<pre class="m4source">
80
AC_DEFUN([AC_PROG_LATEX],[
81
AC_CHECK_PROGS(latex,[latex elatex lambda],no)
83
if test $latex = "no" ;
85
AC_MSG_ERROR([Unable to find a LaTeX application]);
95
<span style="white-space:nowrap;">Copyright © 2008 Mathieu Boretti
96
<boretti@eig.unige.ch></span>
98
This program is free software; you can redistribute it and/or modify it
99
under the terms of the GNU General Public License as published by the Free
100
Software Foundation; either version 2 of the License, or (at your option)
104
This program is distributed in the hope that it will be useful, but WITHOUT
105
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
106
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
110
You should have received a copy of the GNU General Public License along
111
with this program. If not, see <<a href=
112
"http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>>.
115
As a special exception, the respective Autoconf Macro's copyright owner
116
gives unlimited permission to copy, distribute and modify the configure
117
scripts that are the output of Autoconf when processing the Macro. You need
118
not follow the terms of the GNU General Public License when using or
119
distributing such scripts, even though portions of the text of the Macro
120
appear in them. The GNU General Public License (GPL) does govern all other
121
use of the material that constitutes the Autoconf Macro.
124
This special exception to the GPL applies to versions of the Autoconf Macro
125
released by the Autoconf Macro Archive. When you make and distribute a
126
modified version of the Autoconf Macro, you may extend this special
127
exception to the GPL to apply to your modified version as well.