diff options
author | simonmar <unknown> | 1999-08-02 13:11:02 +0000 |
---|---|---|
committer | simonmar <unknown> | 1999-08-02 13:11:02 +0000 |
commit | ba65f19ffce78b2c13efd2ce999123b4b358cc78 (patch) | |
tree | 4d70810e7772a19173ef4ca655e4f33db090a246 /aclocal.m4 | |
parent | 3ad923521c46798778deb89b1cf348de66b2de79 (diff) | |
download | haskell-ba65f19ffce78b2c13efd2ce999123b4b358cc78.tar.gz |
[project @ 1999-08-02 13:11:02 by simonmar]
Only require happy if compiling ghc, and ask for version 1.6
Diffstat (limited to 'aclocal.m4')
-rw-r--r-- | aclocal.m4 | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/aclocal.m4 b/aclocal.m4 index 9ae64495b7..a5716cbedf 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -1,4 +1,4 @@ -dnl $Id: aclocal.m4,v 1.43 1999/07/14 13:26:48 simonmar Exp $ +dnl $Id: aclocal.m4,v 1.44 1999/08/02 13:11:02 simonmar Exp $ dnl dnl Extra autoconf macros for the Glasgow fptools dnl @@ -147,10 +147,12 @@ changequote([, ])dnl else fptools_cv_happy_version=""; fi; -if expr "$fptools_cv_happy_version" "<" 1.4 > /dev/null 2>&1; then - echo - echo "Happy version 1.4 or later is required to compile GHC." - exit 1; +if expr "$fptools_cv_happy_version" "<" 1.6 > /dev/null 2>&1; then + if test -d ghc; then + echo + echo "Happy version 1.6 or later is required to compile GHC." + exit 1; + fi fi; ]) HappyVersion=$ac_cv_happy_version; |