From: Ian Lynagh Date: Fri, 22 Apr 2011 21:27:50 +0000 (+0100) Subject: Remove redundant tests for whether we're in a GHC tree X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=35ccb1819d3a3fa100ed4e77798da7a58654a08d Remove redundant tests for whether we're in a GHC tree We always are, nowadays. --- diff --git a/aclocal.m4 b/aclocal.m4 index 5464930..51aef93 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 d25cb6a..2eb7f29 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