blob: c36de72ead7fa609651bf41f981368650b536b7d (
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
42
43
44
45
46
47
48
|
dnl Run autoconf to generate configure from this file
AC_INIT([GF],[2.0],[aarne@cs.chalmers.se],[GF])
AC_PREREQ(2.53)
AC_REVISION($Revision: 1.4 $)
AC_CONFIG_FILES([config.mk jgf])
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 Program flags
dnl ***********************************************
AC_SUBST(CPPFLAGS)
AC_SUBST(LDFLAGS)
dnl ***********************************************
dnl Output
dnl ***********************************************
AC_OUTPUT
|