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.

This commit is contained in:
bringert
2005-05-19 17:19:42 +00:00
parent 09e2eda1b2
commit 913d1f4de7
6 changed files with 62 additions and 27 deletions

View File

@@ -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)