Skip to content

Commit

Permalink
Fail configure if Alex 3 is found. Haddock doesn't build with Alex 3
Browse files Browse the repository at this point in the history
yet, and fixing it is non-trivial (a change to Cabal is needed).  So
I'm making configure fail with an error suggesting to install an older
Alex for now.
  • Loading branch information
simonmar committed Aug 10, 2011
1 parent 2708657 commit a0d1b8a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions configure.ac
Expand Up @@ -608,6 +608,9 @@ dnl ** check for installed alex binary + version
dnl (don't do it if we're booting from .hc files though.)
if test "$BootingFromHc" = "NO"; then
FPTOOLS_ALEX
if test "${Alex3}" = "YES"; then
AC_MSG_ERROR([GHC does not build with Alex 3 yet; please install an older version (we hope to fix this soon).])
fi
fi;

dnl --------------------------------------------------
Expand Down

0 comments on commit a0d1b8a

Please sign in to comment.