blob: 08b0a85a43210224c98ea6b32d218232f80a8275 (
plain)
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
|
dnl Run autoconf to generate configure from this file
AC_INIT([GF],[2.0],[dp03-7@mdstud.chalmers.se],[GF])
AC_PREREQ(2.53)
AC_REVISION($Revision: 1.2 $)
AC_CONFIG_FILES([config.mk jgf2])
AC_CANONICAL_SYSTEM
dnl ***********************************************
dnl GHC
dnl ***********************************************
AC_ARG_WITH(ghc,
AC_HELP_STRING([--with-ghc=<ghc command>],
[Use a different command instead of
'ghc' for the Haskell compiler.]),
[AC_CHECK_FILE("$withval",GHC="$withval",[AC_PATH_PROG(GHC,"$withval")])],
[AC_PATH_PROG(GHC,ghc)])
GHCI=$(dirname $GHC)/ghci
AC_SUBST(GHC)
AC_SUBST(GHCI)
dnl ***********************************************
dnl Other programs
dnl ***********************************************
AC_PROG_INSTALL
dnl ***********************************************
dnl Output
dnl ***********************************************
AC_OUTPUT
|