diff options
| author | bringert <unknown> | 2004-06-22 08:56:20 +0000 |
|---|---|---|
| committer | bringert <unknown> | 2004-06-22 08:56:20 +0000 |
| commit | 9cc3e87735e13ad1999793b2db00890486d1e0ee (patch) | |
| tree | 2116be2e09f21658b6429f4ede6c9d14072c5207 /src/configure.ac | |
| parent | 464a2937cbabc4038e873914a94769b859f2fe82 (diff) | |
Added configure script, added install target, changed MkToday to a shell script to avoid a build-time dependency on runhugs
Diffstat (limited to 'src/configure.ac')
| -rw-r--r-- | src/configure.ac | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/src/configure.ac b/src/configure.ac new file mode 100644 index 000000000..4734aa4ce --- /dev/null +++ b/src/configure.ac @@ -0,0 +1,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.1 $) + +AC_CONFIG_FILES([config.mk]) + +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 + |
