X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2FMakefile;h=568812acd4430c94904fcf8edc95d82ade2ddcfc;hb=92e7ecbcc393caab7f0d8883a51cbfca42767cb1;hp=de9c9791ed1bf8ed6dc473ec1fcca0e5e4376a65;hpb=07570cc95f56295d962cf0f30d3231bd21fce8a1;p=ghc-hetmet.git 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