From 2aea029422dc06f50aab82b35e5b3b0a42641ded Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Wed, 19 Aug 2009 09:39:29 +0000 Subject: [PATCH] Bump Happy requirement from 1.15 to 1.16 Now that the haskell98 dependency of GHC has been removed, the Happy-generated parsers must import Data.Array rather than Array, and that change was made in Happy 1.16. --- aclocal.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aclocal.m4 b/aclocal.m4 index 10b94bf..d84cb99 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -246,8 +246,8 @@ changequote([, ])dnl ]) if test ! -f compiler/parser/Parser.hs || test ! -f compiler/main/ParsePkgConf.hs || test ! -f compiler/cmm/CmmParse.hs || test ! -f compiler/parser/ParserCore.hs then - FP_COMPARE_VERSIONS([$fptools_cv_happy_version],[-lt],[1.15], - [AC_MSG_ERROR([Happy version 1.15 or later is required to compile GHC.])])[] + FP_COMPARE_VERSIONS([$fptools_cv_happy_version],[-lt],[1.16], + [AC_MSG_ERROR([Happy version 1.16 or later is required to compile GHC.])])[] fi HappyVersion=$fptools_cv_happy_version; AC_SUBST(HappyVersion) -- 1.7.10.4