[project @ 2004-11-20 16:02:41 by panne]
[ghc-hetmet.git] / ghc / configure.ac
1 # Initialise and check sanity.
2 AC_INIT([The Glorious Glasgow Haskell Compilation System], [6.3], [glasgow-haskell-bugs@haskell.org], [ghc])
3 AC_CONFIG_SRCDIR([ghc.spec.in])
4
5 # duplicate from ../configure.ac
6 AC_ARG_WITH([ghc],
7 [AC_HELP_STRING([--with-ghc=ARG],
8   [Use ARG as the path to GHC  [default=autodetect]])],
9   [WithGhc="$withval"],
10   [if test "$GHC" = ""; then
11     AC_PATH_PROG([GHC], [ghc])
12   fi
13   WithGhc="$GHC"])
14 AC_SUBST([WithGhc])
15
16 FP_SETUP_PROJECT_INFO
17
18 # Hmmm, we fix the RPM release number to 1 here... Is this convenient?
19 AC_SUBST([release], [1])
20
21 FP_GCC_NEEDS_NO_OMIT_LFPTR
22
23 # Check whether this GHC has readline installed
24 FP_GHC_HAS_READLINE
25
26 # Write the results...
27 AC_CONFIG_FILES([ghc.spec VERSION docs/users_guide/ug-book.xml mk/config.mk mk/version.mk])
28 AC_OUTPUT