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)
29 AC_OUTPUT(Makefile etc/Makefile lisp/Makefile texi/Makefile texi/gnusconfig.tex texi/ps/Makefile)
31 ifelse(dnl Do not change this comment
32 arch-tag: 4fda042e-c632-45be-867f-4d90bc87746b