X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=configure.ac;h=89e966d57ccf77a95e90303b79c41e06be887de5;hp=d25cb6a6e1e8879306691189a33c387e8577483b;hb=3549fd152f64b6846b3339ce63665e0873ed0f3c;hpb=f3a77b2f46ebc27716f45ae426a3b33b853d52f5 diff --git a/configure.ac b/configure.ac index d25cb6a..89e966d 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 @@ -537,7 +537,7 @@ dnl ** look for GCC and find out which version dnl Figure out which C compiler to use. Gcc is preferred. dnl If gcc, make sure it's at least 2.1 dnl -FP_HAVE_GCC +FP_GCC_VERSION FPTOOLS_SET_C_LD_FLAGS([target],[CFLAGS],[LDFLAGS],[IGNORE_LINKER_LD_FLAGS],[CPPFLAGS]) FPTOOLS_SET_C_LD_FLAGS([build],[CONF_CC_OPTS_STAGE0],[CONF_GCC_LINKER_OPTS_STAGE0],[CONF_LD_LINKER_OPTS_STAGE0],[CONF_CPP_OPTS_STAGE0])