X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=mk%2Fconfig.mk.in;h=043d60aba09a4a56f8a8f105eeae9fd75eab274e;hb=8c2549461d624ad5cfec9be3266bdfd016371658;hp=be48d99502d58ed855a414471e3f12e3391d1723;hpb=8bac0130e76221e5b20481d9e63b705d8c29b0de;p=ghc-hetmet.git diff --git a/mk/config.mk.in b/mk/config.mk.in index be48d99..043d60a 100644 --- a/mk/config.mk.in +++ b/mk/config.mk.in @@ -277,6 +277,23 @@ else GhcWithInterpreter=NO endif +# GhcWithTablesNextToCode, which corresponds to the TABLES_NEXT_TO_CODE +# CPP symbol, says whether to assume that info tables are assumed to +# reside just before the code for a function. +ifeq "$(GhcUnregisterised)" "YES" +GhcWithTablesNextToCode=NO +GhcWithNoRegs=YES +GhcWithMiniInterpreter=YES +else +ifeq "$(findstring $(HostArch_CPP), ia64 powerpc64)" "" +GhcWithTablesNextToCode=YES +else +GhcWithTablesNextToCode=NO +endif +GhcWithNoRegs=NO +GhcWithMiniInterpreter=NO +endif + # # Building various ways? # (right now, empty if not).