File: configure.ac

package info (click to toggle)
mit-scheme-doc 7.7.90+20080130-1
  • links: PTS
  • area: non-free
  • in suites: lenny
  • size: 1,624 kB
  • ctags: 10
  • sloc: makefile: 217; sh: 216
file content (88 lines) | stat: -rw-r--r-- 2,596 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
dnl Process this file with autoconf to produce a configure script.

AC_INIT([MIT/GNU Scheme documentation],
	[7.7.91],
	[bug-mit-scheme@gnu.org],
	[mit-scheme-doc])
AC_REVISION([$Id: configure.ac,v 1.7 2008/01/30 20:06:10 cph Exp $])
AC_CONFIG_SRCDIR([ref-manual/scheme.texinfo])

AC_COPYRIGHT(
[Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994,
    1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008 Massachusetts Institute of Technology

This file is part of MIT/GNU Scheme.

MIT/GNU Scheme is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at
your option) any later version.

MIT/GNU Scheme is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
General Public License for more details.

You should have received a copy of the GNU General Public License
along with MIT/GNU Scheme; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301,
USA.
])

AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_MAKE_SET
if test "$(${INSTALL} --help 2> /dev/null | fgrep -e --preserve-timestamps)"
then
    INSTALL="${INSTALL} --preserve-timestamps"
fi

INST_TARGETS=

AC_ARG_ENABLE([html],
	[AC_HELP_STRING([--enable-html], [generate HTML documentation])])
if test "${enable_html:-yes}" = "yes"; then
    htmldir="${libdir}/mit-scheme/doc"
elif test "${enable_html}" = "no"; then
    htmldir=
else
    htmldir="${enable_html}"
fi
test "${htmldir}" = "" || INST_TARGETS="${INST_TARGETS} install-html"
AC_SUBST([htmldir])

AC_ARG_ENABLE([pdf],
	[AC_HELP_STRING([--enable-pdf], [generate PDF documentation])])
if test "${enable_pdf:-yes}" = "yes"; then
    pdfdir="${libdir}/mit-scheme/doc"
elif test "${enable_pdf}" = "no"; then
    pdfdir=
else
    pdfdir="${enable_pdf}"
fi
test "${pdfdir}" = "" || INST_TARGETS="${INST_TARGETS} install-pdf"
AC_SUBST([pdfdir])

AC_ARG_ENABLE([ps],
	[AC_HELP_STRING([--enable-ps], [generate Postscript documentation])])
if test "${enable_ps:-yes}" = "yes"; then
    psdir="${libdir}/mit-scheme/doc"
elif test "${enable_ps}" = "no"; then
    psdir=
else
    psdir="${enable_ps}"
fi
test "${psdir}" = "" || INST_TARGETS="${INST_TARGETS} install-ps"
AC_SUBST([psdir])

AC_SUBST([INST_TARGETS])

AC_CONFIG_FILES([
	Makefile
	make-common
	imail/Makefile
	ref-manual/Makefile
	sos/Makefile
	user-manual/Makefile])
AC_OUTPUT