summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--aclocal.m42
-rw-r--r--configure.ac2
2 files changed, 2 insertions, 2 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index 5464930a47..51aef938e9 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -702,7 +702,7 @@ if test -z "$GCC"; then
else
fp_have_gcc=YES
fi
-if test "$fp_have_gcc" = "NO" -a -d $srcdir/ghc; then
+if test "$fp_have_gcc" = "NO"; then
AC_MSG_ERROR([gcc is required])
fi
GccLT34=
diff --git a/configure.ac b/configure.ac
index d25cb6a6e1..2eb7f29d37 100644
--- a/configure.ac
+++ b/configure.ac
@@ -135,7 +135,7 @@ if test "$WithGhc" != ""; then
fi
dnl ** Must have GHC to build GHC, unless --enable-hc-boot is on
-if test "$BootingFromHc" = "NO" -a -d "$srcdir/compiler"; then
+if test "$BootingFromHc" = "NO"; then
if test "$WithGhc" = ""; then
AC_MSG_ERROR([GHC is required unless bootstrapping from .hc files.])
fi