diff options
-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.])])[] |