Remove redundant tests for whether we're in a GHC tree
authorIan Lynagh <igloo@earth.li>
Fri, 22 Apr 2011 21:27:50 +0000 (22:27 +0100)
committerIan Lynagh <igloo@earth.li>
Fri, 22 Apr 2011 21:27:50 +0000 (22:27 +0100)
We always are, nowadays.

aclocal.m4
configure.ac

index 5464930..51aef93 100644 (file)
@@ -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=
index d25cb6a..2eb7f29 100644 (file)
@@ -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