lisp/ChangeLog: Fix last commit
[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 or a term window in Emacs,
7 dnl it sets the EMACS environment variable to 't' or a version number
8 dnl of Emacs.  Lets undo the damage.
9 dnl
10 if test "${EMACS}" = "t" -o -n "${INSIDE_EMACS}"; then
11    EMACS=""
12 fi
13
14 AC_ARG_WITH(xemacs,
15         [AS_HELP_STRING([[--with-xemacs[=PROG]]],
16                         [use XEmacs to build (default: PROG=xemacs)])],
17         [ if test "${withval}" = "yes"; then EMACS=xemacs; else EMACS=${withval}; fi ])
18 AC_ARG_WITH(emacs,
19         [AS_HELP_STRING([[--with-emacs[=PROG]]],
20                         [use Emacs to build (default: PROG=emacs)])],
21         [ if test "${withval}" = "yes"; then EMACS=emacs; else EMACS=${withval}; fi ])
22 AC_CHECK_PROG(MAKEINFO, makeinfo, makeinfo, no)
23
24 AC_CHECK_PROG(EMACS, emacs, emacs, xemacs)
25
26 AC_PATH_LISPDIR
27 AC_PATH_ETCDIR
28 AC_PATH_INFO_DIR
29 AC_SET_BUILD_FLAGS
30 GNUS_CHECK_FONTS
31
32 AC_OUTPUT(Makefile etc/Makefile lisp/Makefile texi/Makefile texi/gnusconfig.tex texi/ps/Makefile)