summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorJan Stolarek <jan.stolarek@p.lodz.pl>2013-09-16 15:04:57 +0100
committerJan Stolarek <jan.stolarek@p.lodz.pl>2013-09-18 14:48:10 +0100
commit53948f915140396acd1b80c6a7a252b2d1e12635 (patch)
tree0bc106c0e288ad76fb4835aa15d0f8e34b62055b /aclocal.m4
parent6eec7bc5b1e541705911a617f82501fe59319996 (diff)
downloadhaskell-53948f915140396acd1b80c6a7a252b2d1e12635.tar.gz
Restore old names of comparison primops
In 6579a6c we removed existing comparison primops and introduced new ones returning Int# instead of Bool. This commit (and associated commits in array, base, dph, ghc-prim, integer-gmp, integer-simple, primitive, testsuite and template-haskell) restores old names of primops. This allows us to keep our API cleaner at the price of not having backwards compatibility. This patch also temporalily disables fix for #8317 (optimization of tagToEnum# at Core level). We need to fix #8326 first, otherwise our primops code will be very slow.
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m418
1 files changed, 4 insertions, 14 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index 1e628b1401..8a9fe63cb5 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -866,13 +866,8 @@ changequote([, ])dnl
])
if test ! -f compiler/parser/Parser.hs || test ! -f compiler/cmm/CmmParse.hs || test ! -f compiler/parser/ParserCore.hs
then
- 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
-if test ! -f compiler/parser/Parser.hs || test ! -f compiler/cmm/CmmParse.hs || test ! -f compiler/parser/ParserCore.hs
-then
- FP_COMPARE_VERSIONS([$fptools_cv_happy_version],[-gt],[1.18.11],
- [AC_MSG_ERROR([Happy version 1.18.11 or earlier is required to compile GHC.])])[]
+ FP_COMPARE_VERSIONS([$fptools_cv_happy_version],[-lt],[1.19],
+ [AC_MSG_ERROR([Happy version 1.19 or later is required to compile GHC.])])[]
fi
HappyVersion=$fptools_cv_happy_version;
AC_SUBST(HappyVersion)
@@ -900,13 +895,8 @@ FP_COMPARE_VERSIONS([$fptools_cv_alex_version],[-ge],[3.0],
[Alex3=YES],[Alex3=NO])
if test ! -f compiler/cmm/CmmLex.hs || test ! -f compiler/parser/Lexer.hs
then
- FP_COMPARE_VERSIONS([$fptools_cv_alex_version],[-lt],[2.1.0],
- [AC_MSG_ERROR([Alex version 2.1.0 or later is required to compile GHC.])])[]
-fi
-if test ! -f compiler/cmm/CmmLex.hs || test ! -f compiler/parser/Lexer.hs
-then
- FP_COMPARE_VERSIONS([$fptools_cv_alex_version],[-gt],[3.0.5],
- [AC_MSG_ERROR([Alex version 3.0.5 or earlier is required to compile GHC.])])[]
+ FP_COMPARE_VERSIONS([$fptools_cv_alex_version],[-lt],[3.1.0],
+ [AC_MSG_ERROR([Alex version 3.1.0 or later is required to compile GHC.])])[]
fi
if test ! -f utils/haddock/src/Haddock/Lex.hs
then