Commit 19f903bc authored by Ian Lynagh's avatar Ian Lynagh

Make ghc.cabal's editline flag manual, to simplify the Makefile

parent a999a72e
......@@ -122,15 +122,9 @@ endif
# But we don't enable editline on Windows, as Windows terminals have
# editline-like support builtin.
#
ifeq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
CONFIGURE_FLAGS_STAGE1 += --flags=-editline
CONFIGURE_FLAGS_STAGE2 += --flags=-editline
else
CONFIGURE_FLAGS_STAGE1 += --flags=-editline
ifneq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
ifeq "$(wildcard $(FPTOOLS_TOP_ABS)/libraries/editline/unbuildable)" ""
CONFIGURE_FLAGS_STAGE2 += --flags=editline
else
CONFIGURE_FLAGS_STAGE2 += --flags=-editline
endif
endif
......
......@@ -25,6 +25,8 @@ Flag dynlibs
Flag editline
Description: Use editline
Default: False
Manual: True
Flag ghci
Description: Build GHCi support.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment