summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2011-04-22 22:27:50 +0100
committerIan Lynagh <igloo@earth.li>2011-04-22 22:27:50 +0100
commit35ccb1819d3a3fa100ed4e77798da7a58654a08d (patch)
treecec4c97f59f160f791acba964020c0e114557a9d
parentf1f3c4f50650110ad0f700d6566a44c515b0548f (diff)
downloadhaskell-35ccb1819d3a3fa100ed4e77798da7a58654a08d.tar.gz
Remove redundant tests for whether we're in a GHC tree
We always are, nowadays.
-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