diff options
| author | Phil Ruffwind <rf@rufflewind.com> | 2016-11-29 13:31:16 -0500 |
|---|---|---|
| committer | Ben Gamari <ben@smart-cactus.org> | 2016-11-29 14:39:55 -0500 |
| commit | 52222f9bf705ad64bc4a212088d153d8918b6173 (patch) | |
| tree | fc4706159f85d733d5920b51fff1ddbd71e0e4df /compiler/ghc.cabal.in | |
| parent | f1fc8cbf511c88cb88bf9f46724ee2711f54891a (diff) | |
| download | haskell-52222f9bf705ad64bc4a212088d153d8918b6173.tar.gz | |
Detect color support
Test Plan: validate
Reviewers: erikd, Phyx, austin, bgamari
Reviewed By: bgamari
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D2717
GHC Trac Issues: #8809
Diffstat (limited to 'compiler/ghc.cabal.in')
| -rw-r--r-- | compiler/ghc.cabal.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/compiler/ghc.cabal.in b/compiler/ghc.cabal.in index 0a85ff1a5d..9538e2cb0b 100644 --- a/compiler/ghc.cabal.in +++ b/compiler/ghc.cabal.in @@ -40,6 +40,11 @@ Flag stage3 Default: False Manual: True +Flag terminfo + Description: Build GHC with terminfo support on non-Windows platforms. + Default: True + Manual: True + Library Default-Language: Haskell2010 Exposed: False @@ -64,6 +69,8 @@ Library if os(windows) Build-Depends: Win32 == 2.3.* else + if flag(terminfo) + Build-Depends: terminfo == 0.4.* Build-Depends: unix == 2.7.* if flag(ghci) |
