Download M4 Source Macro Index Page

ac_prog_makeindex

Synopsis

AC_PROG_MAKEINDEX

Description

This macro test if makeindex is installed. If makeindex is installed, it set $makeindex to the right value

Author

Mathieu Boretti <boretti@bss-network.com>

Last Modified

2005-01-21

M4 Source Code

AC_DEFUN([AC_PROG_MAKEINDEX],[
AC_CHECK_PROGS(makeindex,makeindex,no)
export makeindex;
if test $makeindex = "no" ;
then
        AC_MSG_ERROR([Unable to find a MakeIndex application]);
fi
AC_SUBST(makeindex)
])