summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorSimon Jakobi <simon.jakobi@gmail.com>2018-11-22 11:52:53 -0500
committerBen Gamari <ben@smart-cactus.org>2018-11-22 13:14:02 -0500
commit699e507237ccda65fe9f37651d2358129390e2de (patch)
tree0515530b121307e5421a72d1055474a287bf954e /aclocal.m4
parentf2d9fb0c288788abeb796a13d600295a526290cd (diff)
downloadhaskell-699e507237ccda65fe9f37651d2358129390e2de.tar.gz
Remove warnings-silencing flags for code generated by Alex
Current versions of Alex don't seem to produce as many warnings any more. In order to silence a warning and to avoid overlong lines, I've taken the liberty of refactoring 'tok_num'. Test Plan: ./validate Reviewers: bgamari, simonmar Reviewed By: simonmar Subscribers: erikd, rwbarton, carter Differential Revision: https://phabricator.haskell.org/D5319
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m410
1 files changed, 2 insertions, 8 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index 18e0d7e5b3..447fd6119f 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -958,16 +958,10 @@ else
fi;
changequote([, ])dnl
])
-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],[3.1.0],
- [AC_MSG_ERROR([Alex version 3.1.0 or later is required to compile GHC.])])[]
-fi
+FP_COMPARE_VERSIONS([$fptools_cv_alex_version],[-lt],[3.1.7],
+ [AC_MSG_ERROR([Alex version 3.1.7 or later is required to compile GHC.])])[]
AlexVersion=$fptools_cv_alex_version;
AC_SUBST(AlexVersion)
-AC_SUBST(Alex3)
])