diff options
author | Takenobu Tani <takenobu.hs@gmail.com> | 2020-05-26 22:23:00 +0900 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-06-01 06:37:43 -0400 |
commit | 5aaf08f25ef0629432c792880dfc6785ff3ec8a3 (patch) | |
tree | 45eaeebc8cfbc10b08c47ba84d3ec744d72db168 | |
parent | 1cef6126a97ea1f406ffe5e780478f6e200c0496 (diff) | |
download | haskell-5aaf08f25ef0629432c792880dfc6785ff3ec8a3.tar.gz |
configure: Modify aclocal.m4 according to new module hierarchy
This patch updates file paths according to new module hierarchy [1]:
* Rename:
* compiler/GHC/Parser.hs <= compiler/parser/Parser.hs
* compiler/GHC/Parser/Lexer.hs <= compiler/Parser/Lexer.hs
* Add:
* compiler/GHC/Cmm/Lexer.hs
[1]: https://gitlab.haskell.org/ghc/ghc/-/wikis/Make-GHC-codebase-more-modular
-rw-r--r-- | aclocal.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/aclocal.m4 b/aclocal.m4 index a31bdbd124..bce0f577bd 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -1010,7 +1010,7 @@ else fi; changequote([, ])dnl ]) -if test ! -f compiler/parser/Parser.hs || test ! -f compiler/GHC/Cmm/Parser.hs +if test ! -f compiler/GHC/Parser.hs || test ! -f compiler/GHC/Cmm/Parser.hs then FP_COMPARE_VERSIONS([$fptools_cv_happy_version],[-lt],[1.19.10], [AC_MSG_ERROR([Happy version 1.19.10 or later is required to compile GHC.])])[] @@ -1042,7 +1042,7 @@ else fi; changequote([, ])dnl ]) -if test ! -f compiler/parser/Lexer.hs +if test ! -f compiler/GHC/Parser/Lexer.hs || test ! -f compiler/GHC/Cmm/Lexer.hs then 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.])])[] |