Check if group names are already strings
[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_PATH_PROG(GZIP_PROG, gzip)
33 AC_ARG_WITH(compress-install,
34         [AS_HELP_STRING([[--without-compress-install]],
35                 [do not compress .el and .info files when installing.])],
36         [ if test "${withval}" = no; then
37                 COMPRESS_INSTALL=no;
38           else
39                 if test -n "${GZIP_PROG}"; then
40                         COMPRESS_INSTALL=yes;
41                 else
42                         COMPRESS_INSTALL=no;
43                 fi;
44           fi ],
45         [ if test -n "${GZIP_PROG}"; then
46                 COMPRESS_INSTALL=yes;
47           else
48                 COMPRESS_INSTALL=no;
49           fi ])
50 AC_SUBST(COMPRESS_INSTALL)
51
52 AC_OUTPUT(Makefile etc/Makefile lisp/Makefile texi/Makefile texi/gnusconfig.tex texi/ps/Makefile)