diff options
Diffstat (limited to 'pandoc.cabal')
-rw-r--r-- | pandoc.cabal | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/pandoc.cabal b/pandoc.cabal index f57ca1bb2..c441a9439 100644 --- a/pandoc.cabal +++ b/pandoc.cabal @@ -330,7 +330,11 @@ Executable test-pandoc Hs-Source-Dirs: tests, src Main-Is: test-pandoc.hs if flag(highlighting) - cpp-options: -D_HIGHLIGHTING + cpp-options: -D_HIGHLIGHTING + if impl(ghc >= 7) + cpp-options: -D_LIT=lit + else + cpp-options: -D_LIT=$lit if !flag(tests) Buildable: False else @@ -342,9 +346,9 @@ Executable test-pandoc Build-Depends: base >= 4 && < 5, Diff, test-framework >= 0.3 && < 0.4, test-framework-hunit >= 0.2 && < 0.3, test-framework-quickcheck2 >= 0.2.9 && < 0.3, - QuickCheck == 2.4.*, + QuickCheck >= 2.4 && < 2.6, HUnit >= 1.2 && < 1.3, - template-haskell == 2.4.*, + template-haskell >= 2.4 && < 2.6, ansi-terminal == 0.5.* Other-Modules: Tests.Old Tests.Helpers |