4 dnl Apparently, if you run a shell window in Emacs, it sets the EMACS
5 dnl environment variable to 't'. Lets undo the damage.
6 if test "${EMACS}" = "t"; then
10 AC_ARG_WITH(emacs,[ --with-emacs Use Emacs to build],
11 [ if test "${withval}" = "yes"; then EMACS=emacs; else EMACS=${withval}; fi ])
12 AC_CHECK_PROG(EMACS, emacs, emacs, xemacs)
14 AC_CHECK_PROG(JBIBTEX, jbibtex, jbibtex, false)
15 AC_CHECK_PROG(PTEX, ptex, ptex, false)
16 AC_CHECK_PROG(TEXI2DVI, texi2dvi, texi2dvi, false)