Allow nnmail-split-methods to use the fancy splitting syntax directly.
[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], 
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)
18
19 AC_CHECK_PROG(EMACS, emacs, emacs, xemacs)
20
21 AC_PATH_LISPDIR
22 AC_PATH_ETCDIR
23 AC_PATH_INFO_DIR
24 AC_CHECK_URL
25 AC_CHECK_W3
26 AC_SET_BUILD_FLAGS
27 GNUS_CHECK_FONTS
28
29 AC_OUTPUT(Makefile etc/Makefile lisp/Makefile texi/Makefile texi/gnusconfig.tex texi/ps/Makefile)