[project @ 1997-09-08 09:45:10 by simonm]
authorsimonm <unknown>
Mon, 8 Sep 1997 09:45:10 +0000 (09:45 +0000)
committersimonm <unknown>
Mon, 8 Sep 1997 09:45:10 +0000 (09:45 +0000)
If the installed version of Happy is < 1.3, use the one from the tree.

configure.in

index ad34154..034f7fb 100644 (file)
@@ -388,6 +388,11 @@ AC_SUBST(CompressSuffix)
 dnl ** check for installed happy binary + version
 #
 AC_HAPPY
+if expr $HappyVersion \< "1.3" >/dev/null; then
+       echo "   Happy Version 1.3 or later is required to compile GHC."
+       echo "   Using the Happy sources in the tree.";
+       HappyCmd=""
+fi;
 
 #
 #