X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=aclocal.m4;h=113889a9d4376719bc64d4dbafe6b90ed2a94bb9;hb=89f1a34d1710373d1cfde36af732b37d598a16f0;hp=ab6ec27b5ee74fb53b1cab2b3dd65a223b406722;hpb=6e1f0ed78a48359bc65bc4d35973d61999e6f33c;p=ghc-hetmet.git diff --git a/aclocal.m4 b/aclocal.m4 index ab6ec27..113889a 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -292,7 +292,7 @@ AC_SUBST(GreenCardVersion) dnl dnl Check for Happy and version. If we're building GHC, then we need -dnl at least Happy version 1.13. If there's no installed Happy, we look +dnl at least Happy version 1.14. If there's no installed Happy, we look dnl for a happy source tree and point the build system at that instead. dnl AC_DEFUN(FPTOOLS_HAPPY, @@ -318,8 +318,8 @@ fi; changequote([, ])dnl ]) if test -d $srcdir/ghc -a ! -f $srcdir/ghc/compiler/parser/Parser.hs; then - FP_COMPARE_VERSIONS([$fptools_cv_happy_version],[-lt],[1.13], - [AC_MSG_ERROR([Happy version 1.13 or later is required to compile GHC.])])[]dnl + FP_COMPARE_VERSIONS([$fptools_cv_happy_version],[-lt],[1.14], + [AC_MSG_ERROR([Happy version 1.14 or later is required to compile GHC.])])[]dnl fi HappyVersion=$fptools_cv_happy_version; AC_SUBST(HappyVersion) @@ -758,77 +758,23 @@ undefine([AC_CV_NAME])dnl undefine([AC_CV_NAME_supported])dnl ]) -dnl Based on AC_TRY_LINK - run iftrue if links cleanly with no warning -dnl FPTOOLS_TRY_LINK_NOWARN(flags,main?,iftrue,iffalse) - -AC_DEFUN(FPTOOLS_TRY_LINK_NOWARN, -[ -ac_save_LIBS="$LIBS" -LIBS=[$1]; -cat > conftest.$ac_ext <