From: Simon Marlow Date: Wed, 7 Nov 2007 09:59:52 +0000 (+0000) Subject: catch up with removal of config.mk in the readline package X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=54a322297a6e73ad22df21a8e597b591b6da23fa;p=ghc-hetmet.git catch up with removal of config.mk in the readline package --- diff --git a/compiler/Makefile b/compiler/Makefile index de9c979..568812a 100644 --- a/compiler/Makefile +++ b/compiler/Makefile @@ -493,10 +493,7 @@ SRC_HC_OPTS += -package readline -DUSE_READLINE PKG_DEPENDS += readline endif else --include $(FPTOOLS_TOP_ABS)/libraries/readline/config.mk -# readline's config.mk sets PACKAGE, which we don't want here -PACKAGE= -ifeq "$(READLINE_BUILD_PACKAGE)" "yes" +ifeq "$(wildcard $(FPTOOLS_TOP_ABS)/libraries/readline/unbuildable)" "" SRC_HC_OPTS += -package readline -DUSE_READLINE PKG_DEPENDS += readline endif