6 dnl Apparently, if you run a shell window in Emacs, it sets the EMACS
7 dnl environment variable to 't'. Lets undo the damage.
9 if test "${EMACS}" = "t"; then
13 AC_ARG_WITH(xemacs,[ --with-xemacs Use XEmacs to build],
14 [ if test "${withval}" = "yes"; then EMACS=xemacs; else EMACS=${withval}; fi ])
15 AC_ARG_WITH(emacs,[ --with-emacs Use Emacs to build],
16 [ if test "${withval}" = "yes"; then EMACS=emacs; else EMACS=${withval}; fi ])
17 AC_CHECK_PROG(MAKEINFO, makeinfo, makeinfo, no)
19 AC_CHECK_PROG(EMACS, emacs, emacs, xemacs)
24 AC_OUTPUT(Makefile lisp/Makefile texi/Makefile)