summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorstolz <unknown>2004-03-05 14:12:13 +0000
committerstolz <unknown>2004-03-05 14:12:13 +0000
commit64235b3c05a8326799b54d76bbae2165d61e09f7 (patch)
tree0904d82db61f2ef20e1c69c784aa5617db8644e8 /aclocal.m4
parentd28c5d2fb3510802c02f2650097e5dbac9353d0a (diff)
downloadhaskell-64235b3c05a8326799b54d76bbae2165d61e09f7.tar.gz
[project @ 2004-03-05 14:12:13 by stolz]
Reduce noise if there's no in-tree version of Happy.
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index 918aaba5cc..7e201fa2e5 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -307,7 +307,7 @@ else
fi
AC_CACHE_CHECK([for version of happy], fptools_cv_happy_version,
changequote(, )dnl
-[if test x"$HappyCmd" = x"$SrcTreeHappyCmd"; then
+[if test x"$HappyCmd" = x"$SrcTreeHappyCmd" -a -e $srcdir/happy/mk/version.mk; then
fptools_cv_happy_version=`grep '^ProjectVersion[ ]*=' $srcdir/happy/mk/version.mk | sed 's/.*\([0-9][0-9]*\.[0-9][0-9]*\).*/\1/g'`;
elif test x"$HappyCmd" != x; then
fptools_cv_happy_version="`$HappyCmd -v |