From: simonm Date: Wed, 10 Sep 1997 09:51:04 +0000 (+0000) Subject: [project @ 1997-09-10 09:51:04 by simonm] X-Git-Tag: Approx_2487_patches~1499 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=74ed845eea44d4e9561969825674c34da5415b8c;p=ghc-hetmet.git [project @ 1997-09-10 09:51:04 by simonm] minor mod to the happy configuration. --- diff --git a/configure.in b/configure.in index 034f7fb..e628147 100644 --- a/configure.in +++ b/configure.in @@ -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 # #