~ubuntu-branches/ubuntu/hardy/inform/hardy

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
dnl Master configuration file for Inform, in -*- m4 -*- mode.

dnl Process this file with autoconf to produce a configure script.

dnl Initialize.
AC_INIT(inform, 6.30)
AC_CONFIG_SRCDIR(src/inform.c)

dnl Extra config files go in this directory.
AC_CONFIG_AUX_DIR(config)

dnl Set package info.
INFORM_VERSION=6.30
AC_SUBST(INFORM_VERSION)

PACKAGE_VERSION=1
AC_SUBST(PACKAGE_VERSION)

AM_INIT_AUTOMAKE(inform, ${INFORM_VERSION}.${PACKAGE_VERSION})

dnl Check host system.
AC_CANONICAL_HOST

case $host in
*linux*)	HOST=LINUX;;
*)		HOST=UNIX;;
esac

AC_SUBST(HOST)

dnl Checks for programs.
AC_PROG_CC
AC_PROG_LN_S
AC_PROG_INSTALL

dnl Check for Cygwin.
AC_CYGWIN
AC_EXEEXT

AM_CONDITIONAL(CYGWIN, test "$CYGWIN" = yes)

dnl Include common makefile stuff.
AC_SUBST_FILE(make_include)
make_include=$srcdir/config/commondefs

AC_OUTPUT(
Makefile
src/Makefile
lib/Makefile
include/Makefile
info/Makefile
html/Makefile
demos/Makefile
)