ifneq "$(HaveLibGmp)" "YES"
ifneq "$(HaveFrameworkHaskellSupport)" "YES"
boot ::
- cd gmp && CC=$(WhatGccIsCalled) ./configure --enable-shared=no \
- --host=`echo $(HOSTPLATFORM) | sed 's/i[567]86/i486/g'`
+ if [ -f gmp/config.status ]; then \
+ cd gmp && CC=$(WhatGccIsCalled) ./config.status; \
+ else \
+ cd gmp && CC=$(WhatGccIsCalled) ./configure --enable-shared=no \
+ --host=`echo $(HOSTPLATFORM) | sed 's/i[567]86/i486/g'`; \
+ fi
# Slight cheatage here to pass host as target, but x-compilation isn't supported by ghc.
# ToDo: should we really include Rts.h here? Required for GNU_ATTRIBUTE().
SRC_HC_OPTS += \
+ -I. \
-\#include Prelude.h \
-\#include Rts.h \
-\#include RtsFlags.h \
-\#include Schedule.h \
-\#include Printer.h \
-\#include Sanity.h \
+ -\#include STM.h \
-\#include Storage.h \
-\#include SchedAPI.h \
-\#include Timer.h \