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, [ if test "${withval}" = "yes"; then EMACS=xemacs; else EMACS=${withval}; fi ])
14 AC_ARG_WITH(emacs, --with-emacs Use Emacs to build, [ if test "${withval}" = "yes"; then EMACS=emacs; else EMACS=${withval}; fi ])
15 AC_CHECK_PROG(MAKEINFO, makeinfo, makeinfo, no)
17 AC_CHECK_PROG(EMACS, emacs, emacs, xemacs)
22 AC_OUTPUT(Makefile lisp/Makefile texi/Makefile)