52c0d9d6cbbcca1b81f4f4be9eceecf415a0e4bb
[gnus] / configure.in
1 AC_INIT(lisp/gnus.el)
2 AC_SET_MAKE
3 AC_PROG_INSTALL
4
5 dnl
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.
8 dnl
9 if test "${EMACS}" = "t"; then
10    EMACS=""
11 fi
12
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)
16
17 AC_CHECK_PROG(EMACS, emacs, emacs, xemacs)
18
19 AC_PATH_LISPDIR
20 AC_CHECK_W3
21
22 AC_OUTPUT(Makefile lisp/Makefile texi/Makefile)