]> arthur.barton.de Git - netatalk.git/blob - macros/tex-check.m4
Some updates for the Kerberos 5 UAM. We now use an autoconf macro to
[netatalk.git] / macros / tex-check.m4
1 # M4 macros to check for the existence of dvips and troff2ps
2 # $Id: tex-check.m4,v 1.2 2003-06-07 12:04:52 srittau Exp $
3
4 AC_DEFUN([AC_PROG_DVIPS], [
5         AC_ARG_WITH(dvips, [  --with-dvips=PATH       path to the dvips command], [
6                 DVIPS="$withval"
7         ], [
8                 AC_PATH_PROG(DVIPS, dvips)
9         ])
10         AC_SUBST(DVIPS)
11 ])
12
13 AC_DEFUN([AC_PROG_TROFF2PS], [
14         AC_ARG_WITH(troff2ps, [  --with-troff2ps=PATH    path to the troff2ps command], [
15                 TROFF2PS="$withval"
16         ], [
17                 AC_PATH_PROG(TROFF2PS, troff2ps)
18         ])
19         AC_SUBST(TROFF2PS)
20 ])