color: add color-gradient function
[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,
14         [AS_HELP_STRING([[--with-xemacs[=PROG]]],
15                         [use XEmacs to build (default: PROG=xemacs)])],
16         [ if test "${withval}" = "yes"; then EMACS=xemacs; else EMACS=${withval}; fi ])
17 AC_ARG_WITH(emacs,
18         [AS_HELP_STRING([[--with-emacs[=PROG]]],
19                         [use Emacs to build (default: PROG=emacs)])],
20         [ if test "${withval}" = "yes"; then EMACS=emacs; else EMACS=${withval}; fi ])
21 AC_CHECK_PROG(MAKEINFO, makeinfo, makeinfo, no)
22
23 AC_CHECK_PROG(EMACS, emacs, emacs, xemacs)
24
25 AC_PATH_LISPDIR
26 AC_PATH_ETCDIR
27 AC_PATH_INFO_DIR
28 AC_CHECK_URL
29 AC_CHECK_W3
30 AC_SET_BUILD_FLAGS
31 GNUS_CHECK_FONTS
32
33 AC_OUTPUT(Makefile etc/Makefile lisp/Makefile texi/Makefile texi/gnusconfig.tex texi/ps/Makefile)