Download M4 Source Macro Index Page

ac_prog_bibtex

Synopsis

AC_PROG_BIBTEX

Description

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

Author

Mathieu Boretti <boretti@bss-network.com>

Last Modified

2005-01-21

M4 Source Code

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