diff options
| author | bringert <unknown> | 2005-05-19 17:19:42 +0000 |
|---|---|---|
| committer | bringert <unknown> | 2005-05-19 17:19:42 +0000 |
| commit | 138ac2dece6cbd62b93127ce87e630781ef0188a (patch) | |
| tree | 0b54e4b832b26f1b82c02ee5a99379b3b91343d3 /src/configure.ac | |
| parent | c2ac91bc1695d84b4eeb35c467f4c9ac0bea8327 (diff) | |
Clean target now works in cygwin. Quoted paths to java executables to handle spaces in paths. Include more files in the MSI package. Disable readline automatically on GHC 6.4 for Windows.
Diffstat (limited to 'src/configure.ac')
| -rw-r--r-- | src/configure.ac | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/src/configure.ac b/src/configure.ac index 81fae5e51..3bfd9c978 100644 --- a/src/configure.ac +++ b/src/configure.ac @@ -4,7 +4,7 @@ AC_INIT([GF],[2.2],[aarne@cs.chalmers.se],[GF]) AC_PREREQ(2.53) -AC_REVISION($Revision: 1.20 $) +AC_REVISION($Revision: 1.21 $) AC_CONFIG_FILES([config.mk jgf gf.wxs]) @@ -38,6 +38,11 @@ AC_ARG_WITH(ghc, GHCI=$(dirname $GHC)/ghci +GHC_VERSION=`$GHC --version | sed -e 's/.*version //'` +AC_MSG_CHECKING([GHC version]) +AC_MSG_RESULT($GHC_VERSION) + + AC_SUBST(GHC) AC_SUBST(GHCI) @@ -56,7 +61,14 @@ AC_ARG_WITH(readline, else READLINE="$withval" fi], - [READLINE="readline"]) + [if test "$GHC_VERSION" = "6.4" && test "$host_os" = "cygwin"; then + AC_MSG_WARN([There are problems with readline on 6.4 for Windows, + disabling readline support. + Use --with-readline to override.]) + READLINE="no" + else + READLINE="readline" + fi]) case $READLINE in readline) |
