aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2013-08-03 16:44:54 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2013-08-03 16:44:54 -0700
commita24409d43efa7727f36b1752d384189661e5149c (patch)
treecbcd96b2b4cce1e4c4dd5b19950abe2bcda2f9cd
parent1567d291a3aed0e55ddaaa65492ab19741e515b5 (diff)
downloadpandoc-a24409d43efa7727f36b1752d384189661e5149c.tar.gz
pandoc.cabal: Removed support for ghc version < 7.2.
There is no point to supporting them, since pandoc-types requires at least ghc 7.2 for GHC generics.
-rw-r--r--pandoc.cabal46
1 files changed, 6 insertions, 40 deletions
diff --git a/pandoc.cabal b/pandoc.cabal
index cd04a2faf..7d4bccc41 100644
--- a/pandoc.cabal
+++ b/pandoc.cabal
@@ -274,17 +274,8 @@ Library
cpp-options: -DEMBED_DATA_FILES
-- build-tools: hsb2hs
other-modules: Text.Pandoc.Data
- if impl(ghc >= 7.0.1)
- Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
- else
- if impl(ghc >= 6.12)
- Ghc-Options: -Wall -fno-warn-unused-do-bind
- else
- Ghc-Options: -Wall
- if impl(ghc >= 7.0.1)
- Ghc-Prof-Options: -auto-all -caf-all -rtsopts
- else
- Ghc-Prof-Options: -auto-all -caf-all
+ Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
+ Ghc-Prof-Options: -auto-all -caf-all -rtsopts
Default-Language: Haskell98
Default-Extensions: CPP
Other-Extensions: PatternGuards, OverloadedStrings,
@@ -361,17 +352,8 @@ Executable pandoc
highlighting-kate >= 0.5.5 && < 0.6,
HTTP >= 4000.0.5 && < 4000.3,
citeproc-hs >= 0.3.7 && < 0.4
- if impl(ghc >= 7.0.1)
- Ghc-Options: -rtsopts -with-rtsopts=-K16m -Wall -fno-warn-unused-do-bind
- else
- if impl(ghc >= 6.12)
- Ghc-Options: -Wall -fno-warn-unused-do-bind
- else
- Ghc-Options: -Wall
- if impl(ghc >= 7.0.1)
- Ghc-Prof-Options: -auto-all -caf-all -rtsopts -with-rtsopts=-K16m
- else
- Ghc-Prof-Options: -auto-all -caf-all
+ Ghc-Options: -rtsopts -with-rtsopts=-K16m -Wall -fno-warn-unused-do-bind
+ Ghc-Prof-Options: -auto-all -caf-all -rtsopts -with-rtsopts=-K16m
if os(windows)
Cpp-options: -D_WINDOWS
Default-Language: Haskell98
@@ -431,17 +413,7 @@ Test-Suite test-pandoc
Tests.Writers.HTML
Tests.Writers.Markdown
Tests.Writers.LaTeX
- if impl(ghc >= 7.0.1)
- Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
- else
- if impl(ghc >= 6.12)
- Ghc-Options: -Wall -fno-warn-unused-do-bind
- else
- Ghc-Options: -Wall
- if impl(ghc >= 7)
- cpp-options: -D_LIT=lit
- else
- cpp-options: -D_LIT=$lit
+ Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
Default-Language: Haskell98
Default-Extensions: CPP
@@ -453,11 +425,5 @@ benchmark benchmark-pandoc
base >= 4.2 && < 5,
syb >= 0.1 && < 0.5,
criterion >= 0.5 && < 0.9
- if impl(ghc >= 7.0.1)
- Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
- else
- if impl(ghc >= 6.12)
- Ghc-Options: -Wall -fno-warn-unused-do-bind
- else
- Ghc-Options: -Wall
+ Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
Default-Language: Haskell98