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.
10 if test "${EMACS}" = "t" -o -n "${INSIDE_EMACS}"; then
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 ])
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)
24 AC_CHECK_PROG(EMACS, emacs, emacs, xemacs)
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
39 if test -n "${GZIP_PROG}"; then
45 [ if test -n "${GZIP_PROG}"; then
50 AC_SUBST(COMPRESS_INSTALL)
52 AC_OUTPUT(Makefile etc/Makefile lisp/Makefile texi/Makefile texi/gnusconfig.tex texi/ps/Makefile)