Commit b0242d5a authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Add ghc_ge_609

parent eed77f2a
...@@ -665,8 +665,10 @@ if test "$WithGhc" != ""; then ...@@ -665,8 +665,10 @@ if test "$WithGhc" != ""; then
GhcCanonVersion="$GhcMajVersion$GhcMinVersion2" GhcCanonVersion="$GhcMajVersion$GhcMinVersion2"
if test $GhcCanonVersion -ge 605; then ghc_ge_605=YES; else ghc_ge_605=NO; fi if test $GhcCanonVersion -ge 605; then ghc_ge_605=YES; else ghc_ge_605=NO; fi
if test $GhcCanonVersion -ge 607; then ghc_ge_607=YES; else ghc_ge_607=NO; fi if test $GhcCanonVersion -ge 607; then ghc_ge_607=YES; else ghc_ge_607=NO; fi
if test $GhcCanonVersion -ge 609; then ghc_ge_609=YES; else ghc_ge_609=NO; fi
AC_SUBST(ghc_ge_605)dnl AC_SUBST(ghc_ge_605)dnl
AC_SUBST(ghc_ge_607)dnl AC_SUBST(ghc_ge_607)dnl
AC_SUBST(ghc_ge_609)dnl
fi fi
# Check whether this GHC has editline installed # Check whether this GHC has editline installed
......
...@@ -905,6 +905,7 @@ GhcMinVersion = @GhcMinVersion@ ...@@ -905,6 +905,7 @@ GhcMinVersion = @GhcMinVersion@
ghc_ge_605 = YES ghc_ge_605 = YES
ghc_ge_607 = YES ghc_ge_607 = YES
ghc_ge_609 = YES
else # not UseStage1 or BootingFromHc else # not UseStage1 or BootingFromHc
...@@ -918,6 +919,7 @@ GhcMinVersion = @GhcMinVersion@ ...@@ -918,6 +919,7 @@ GhcMinVersion = @GhcMinVersion@
# Some useful GHC version predicates: # Some useful GHC version predicates:
ghc_ge_605 = @ghc_ge_605@ ghc_ge_605 = @ghc_ge_605@
ghc_ge_607 = @ghc_ge_607@ ghc_ge_607 = @ghc_ge_607@
ghc_ge_609 = @ghc_ge_609@
endif endif
# Canonicalised ghc version number, used for easy (integer) version # Canonicalised ghc version number, used for easy (integer) version
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment