@@ -149,16 +149,15 @@ library
149149 cpp-options: -DINTEGER_GMP
150150 build-depends: integer-gmp >= 0.2
151151
152−
153152 if impl(ghc >= 6.9) && impl(ghc < 6.11)
154153 cpp-options: -DINTEGER_GMP
155154 build-depends: integer >= 0.1 && < 0.2
156155
157156test-suite tests
158157 type: exitcode-stdio-1.0
159− hs-source-dirs: tests
158+ hs-source-dirs: tests .
160159 main-is: Tests.hs
161− -- c-sources: cbits/cbits.c
160+ c-sources: cbits/cbits.c
162161
163162 ghc-options:
164163 -Wall -threaded -O0 -rtsopts
@@ -169,6 +168,7 @@ test-suite tests
169168 build-depends:
170169 HUnit >= 1.2,
171170 QuickCheck >= 2.4,
171+ array,
172172 base,
173173 bytestring,
174174 deepseq,
@@ -177,8 +177,19 @@ test-suite tests
177177 random,
178178 test-framework >= 0.4,
179179 test-framework-hunit >= 0.2,
180− test-framework-quickcheck2 >= 0.2,
181− text
180+ test-framework-quickcheck2 >= 0.2
181+
182+ if impl(ghc >= 6.11)
183+ if flag(integer-simple)
184+ cpp-options: -DINTEGER_SIMPLE
185+ build-depends: integer-simple >= 0.1 && < 0.5
186+ else
187+ cpp-options: -DINTEGER_GMP
188+ build-depends: integer-gmp >= 0.2
189+
190+ if impl(ghc >= 6.9) && impl(ghc < 6.11)
191+ cpp-options: -DINTEGER_GMP
192+ build-depends: integer >= 0.1 && < 0.2
182193
183194source-repository head
184195 type: git