Skip to content
Snippets Groups Projects
Commit b8dbad65 authored by judah's avatar judah
Browse files

Better warning message when -fterminfo doesn't work.

parent 093b9db9
No related branches found
No related tags found
No related merge requests found
......@@ -106,6 +106,11 @@ iconv_prog = unlines $
, "}"
]
warnIfNotTerminfo flags = when (not (hasFlagSet flags (FlagName "terminfo"))) $
putStrLn $
"*** Warning: running on POSIX but not building the terminfo backend. ***"
warnIfNotTerminfo flags = when (not (hasFlagSet flags (FlagName "terminfo")))
$ mapM_ putStrLn
[ "*** Warning: running on POSIX but not building the terminfo backend. ***"
, "You may need to install the terminfo package manually, e.g. with"
, "\"cabal install terminfo\"; or, use \"-fterminfo\" when configuring or"
, "installing this package."
,""
]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment