source: trunk/m4/acltx_prog_makeindex.m4 @ 1998

Last change on this file since 1998 was 1998, checked in by Peter, 12 years ago

Merged patch release 0.5.4 to the trunk. Delta 0.5.4 - 0.5.3

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id Date
File size: 1.5 KB
Line 
1# ===========================================================================
2#          http://autoconf-archive.cryp.to/acltx_prog_makeindex.html
3# ===========================================================================
4#
5# SYNOPSIS
6#
7#   ACLTX_PROG_MAKEINDEX([ACTION-IF-NOT-FOUND])
8#
9# DESCRIPTION
10#
11#   This macro find a makeindex application and set the variable makeindex
12#   to the name of the application or to no if not found if
13#   ACTION-IF-NOT-FOUND is not specified, configure fail when then
14#   application is not found.
15#
16# LICENSE
17#
18#   Copyright (c) 2008 Boretti Mathieu <boretti@eig.unige.ch>
19#
20#   This library is free software; you can redistribute it and/or modify it
21#   under the terms of the GNU Lesser General Public License as published by
22#   the Free Software Foundation; either version 2.1 of the License, or (at
23#   your option) any later version.
24#
25#   This library is distributed in the hope that it will be useful, but
26#   WITHOUT ANY WARRANTY; without even the implied warranty of
27#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
28#   General Public License for more details.
29#
30#   You should have received a copy of the GNU Lesser General Public License
31#   along with this library. If not, see <http://www.gnu.org/licenses/>.
32
33AC_DEFUN([ACLTX_PROG_MAKEINDEX],[
34AC_CHECK_PROGS(makeindex,makeindex,no)
35if test $makeindex = "no" ;
36then
37  ifelse($#,0,[AC_MSG_ERROR([Unable to find the makeindex application])],
38        $1)
39fi
40])
Note: See TracBrowser for help on using the repository browser.