[project @ 1997-09-30 10:26:40 by simonm]
[ghc-hetmet.git] / configure.in
index 034f7fb..e628147 100644 (file)
@@ -388,11 +388,14 @@ AC_SUBST(CompressSuffix)
 dnl ** check for installed happy binary + version
 #
 AC_HAPPY
-if expr $HappyVersion \< "1.3" >/dev/null; then
+
+if test x"$HappyCmd" != x; then
+   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;
+   fi
+fi
 
 #
 #