File: configure.in

package info (click to toggle)
psgml 1.1.6-3
  • links: PTS
  • area: main
  • in suites: slink
  • size: 868 kB
  • ctags: 827
  • sloc: lisp: 8,100; sh: 392; makefile: 200
file content (61 lines) | stat: -rw-r--r-- 1,543 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
dnl Process this file with autoconf to produce a `configure' script.
dnl To rebuild `configure' from this, execute the command
dnl 	autoconf
dnl in the directory containing this script.
AC_PREREQ(2.9)dnl
AC_INIT(psgml.el)

PACKAGE=psgml
VERSION=1.1.6
AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE")
AC_DEFINE_UNQUOTED(VERSION, "$VERSION")
AC_SUBST(PACKAGE)
AC_SUBST(VERSION)

AC_PREFIX_PROGRAM(etags)

EMACS=emacs
AC_MSG_CHECKING(xemacs)
AC_ARG_WITH(xemacs,
[  --with-xemacs=XEMACS     Build the package with and for XEmacs
                            (XEMACS=no).],
[     case "${withval}" in
        e | em | ema| emac | emacs ) val=emacs ;;
        x | xe | xem | xema| xemac | xemacs ) val=xemacs ;;
        y | ye | yes )      val=xemacs  ;;
        n | no )        val=emacs  ;;
        * ) val=xemacs
        ;;
      esac
      EMACS=$val
])
AC_MSG_RESULT($EMACS)

dnl will override --with-xemacs; is this acceptable?
AC_MSG_CHECKING(emacs)
AC_ARG_WITH(emacs,
[  --with-emacs=EMACS    EMACS=emacs or EMACS=xemacs],
[     case "${withval}" in
        e | em | ema| emac | emacs ) val=emacs ;;
        g | gn | gnu ) val=emacs ;;
        x | xe | xem | xema| xemac | xemacs ) val=xemacs ;;
        y | ye | yes )      val=emacs  ;;
        n | no )        val=xemacs  ;;
        * )         val=emacs
        ;;
      esac
      EMACS=$val
])
AC_MSG_RESULT($EMACS)

dnl Checks for programs.
AC_PROG_MAKE_SET
AC_PROG_INSTALL

dnl Check where to install .elc files.
ke_PATH_LISPDIR

AC_SUBST(EMACS)
AC_OUTPUT(Makefile)

dnl configure.in ends here