[project @ 2003-09-29 10:49:59 by simonmar]
authorsimonmar <unknown>
Mon, 29 Sep 2003 10:49:59 +0000 (10:49 +0000)
committersimonmar <unknown>
Mon, 29 Sep 2003 10:49:59 +0000 (10:49 +0000)
Uncomment Alex version test: Alex 2.0 is now required to build GHC.

aclocal.m4

index 0fb7fcd..9c1bc92 100644 (file)
@@ -372,10 +372,10 @@ else
 fi;
 changequote([, ])dnl
 ])
-dnl if test -d $srcdir/ghc -a ! -f $srcdir/ghc/compiler/parser/Lexer.hs; then
-dnl   FP_COMPARE_VERSIONS([$fptools_cv_alex_version],[-lt],[2.0],
-dnl   [AC_MSG_ERROR([Alex version 2.0 or later is required to compile GHC.])])[]dnl
-dnl fi
+if test -d $srcdir/ghc -a ! -f $srcdir/ghc/compiler/parser/Lexer.hs; then
+  FP_COMPARE_VERSIONS([$fptools_cv_alex_version],[-lt],[2.0],
+  [AC_MSG_ERROR([Alex version 2.0 or later is required to compile GHC.])])[]dnl
+fi
 AlexVersion=$fptools_cv_alex_version;
 AC_SUBST(AlexVersion)
 ])