From 9cc3e87735e13ad1999793b2db00890486d1e0ee Mon Sep 17 00:00:00 2001 From: bringert Date: Tue, 22 Jun 2004 08:56:20 +0000 Subject: Added configure script, added install target, changed MkToday to a shell script to avoid a build-time dependency on runhugs --- src/configure.ac | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 src/configure.ac (limited to 'src/configure.ac') 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=], + [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 + -- cgit v1.2.3