Skip to content
Snippets Groups Projects
Commit 95d35d6c authored by Ben Gamari's avatar Ben Gamari Committed by Zubin
Browse files

configure: Accept happy-2.1.2

happy-2.1 was released in late Oct 2024. I have confirmed that master
bootstraps with it. Here we teach configure to accept this tool.

Fixes #25438.

(cherry picked from commit 1fd83f86)
parent 24b4914a
No related branches found
No related tags found
No related merge requests found
......@@ -24,13 +24,13 @@ changequote([, ])dnl
])
if test ! -f compiler/GHC/Parser.hs || test ! -f compiler/GHC/Cmm/Parser.hs
then
failure_msg="Happy version == 1.20.* || >= 2.0.2 && < 2.1 is required to compile GHC"
failure_msg="Happy version == 1.20.* || >= 2.0.2 && < 2.2 is required to compile GHC"
FP_COMPARE_VERSIONS([$fptools_cv_happy_version],[-lt],[1.20.0],
[AC_MSG_ERROR([$failure_msg])])[]
FP_COMPARE_VERSIONS([$fptools_cv_happy_version],[-ge],[1.21.0],
FP_COMPARE_VERSIONS([$fptools_cv_happy_version], [-le], [2.0.1],
[AC_MSG_ERROR([$failure_msg])])[])[]
FP_COMPARE_VERSIONS([$fptools_cv_happy_version],[-ge],[2.1.0],
FP_COMPARE_VERSIONS([$fptools_cv_happy_version],[-ge],[2.2.0],
[AC_MSG_ERROR([$failure_msg])])[]
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment