1 dnl Process this file with autoconf to produce a configure script.
4 AM_INIT_AUTOMAKE(mmm-mode, 0.4.8)
7 dnl Apparently, if you run a shell window in Emacs, it sets the EMACS
8 dnl environment variable to 't'. Lets undo the damage.
10 if test "${EMACS}" = "t"; then
14 AC_ARG_WITH(xemacs, --with-xemacs Use XEmacs to build, [ if test "${withval}" = "yes"; then EMACS=xemacs; else EMACS=${withval}; fi ])
15 AC_ARG_WITH(emacs, --with-emacs Use Emacs to build, [ if test "${withval}" = "yes"; then EMACS=emacs; else EMACS=${withval}; fi ])
17 AC_CHECK_PROG(EMACS, xemacs, xemacs, emacs)
24 dnl Checks for programs.
26 dnl Checks for libraries.
28 dnl Checks for header files.
30 dnl Checks for typedefs, structures, and compiler characteristics.
32 dnl Checks for library functions.