diff options
| author | kr.angelov <kr.angelov@chalmers.se> | 2008-05-23 15:16:28 +0000 |
|---|---|---|
| committer | kr.angelov <kr.angelov@chalmers.se> | 2008-05-23 15:16:28 +0000 |
| commit | 53bfa43a5820e0ac6cceb01b57776ae01b3b92f1 (patch) | |
| tree | e29707cb9f68f09d457ec18394183b8e487d43f6 /GF.cabal | |
| parent | 0b80bf17d97fe5410c4e6697b6325c777dfee5b0 (diff) | |
allow Ctrl+Break in the shell. Works on Windows too.
Diffstat (limited to 'GF.cabal')
| -rw-r--r-- | GF.cabal | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -11,6 +11,9 @@ flag readline Description: Enable Readline in the shell Default: True +flag interrupt + Description: Enable Ctrl+Break in the shell + Default: True library build-depends: base, @@ -174,3 +177,9 @@ executable gf3 other-modules: GF.System.UseReadline else other-modules: GF.System.NoReadline + + if flag(interrupt) + ghc-options: -DUSE_INTERRUPT + other-modules: GF.System.UseSignal + else + other-modules: GF.System.NoSignal |
