Initial Commit
[packages] / xemacs-packages / mmm-mode / configure.in
1 dnl Process this file with autoconf to produce a configure script.
2 AC_INIT()
3
4 AM_INIT_AUTOMAKE(mmm-mode, 0.4.8)
5
6 dnl
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.
9 dnl
10 if test "${EMACS}" = "t"; then
11    EMACS=""
12 fi
13
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 ])
16
17 AC_CHECK_PROG(EMACS, xemacs, xemacs, emacs)
18
19 AM_PATH_LISPDIR
20
21 AC_EMACS_VERSION
22
23
24 dnl Checks for programs.
25
26 dnl Checks for libraries.
27
28 dnl Checks for header files.
29
30 dnl Checks for typedefs, structures, and compiler characteristics.
31
32 dnl Checks for library functions.
33
34 AC_SUBST(EMACS)
35
36 AC_OUTPUT(Makefile)