@@ -149,16 +149,15 @@ library
149 cpp-options: -DINTEGER_GMP
149 cpp-options: -DINTEGER_GMP
150 build-depends: integer-gmp >= 0.2
150 build-depends: integer-gmp >= 0.2
153 if impl(ghc >= 6.9) && impl(ghc < 6.11)
152 if impl(ghc >= 6.9) && impl(ghc < 6.11)
154 cpp-options: -DINTEGER_GMP
153 cpp-options: -DINTEGER_GMP
155 build-depends: integer >= 0.1 && < 0.2
154 build-depends: integer >= 0.1 && < 0.2
157test-suite tests
156test-suite tests
158 type: exitcode-stdio-1.0
157 type: exitcode-stdio-1.0
159− hs-source-dirs: tests
158+ hs-source-dirs: tests .
160 main-is: Tests.hs
159 main-is: Tests.hs
161− -- c-sources: cbits/cbits.c
160+ c-sources: cbits/cbits.c
163 ghc-options:
162 ghc-options:
164 -Wall -threaded -O0 -rtsopts
163 -Wall -threaded -O0 -rtsopts
@@ -169,6 +168,7 @@ test-suite tests
169 build-depends:
168 build-depends:
170 HUnit >= 1.2,
169 HUnit >= 1.2,
171 QuickCheck >= 2.4,
170 QuickCheck >= 2.4,
173 bytestring,
173 bytestring,
@@ -177,8 +177,19 @@ test-suite tests
178 test-framework >= 0.4,
178 test-framework >= 0.4,
179 test-framework-hunit >= 0.2,
179 test-framework-hunit >= 0.2,
180− test-framework-quickcheck2 >= 0.2,
180+ test-framework-quickcheck2 >= 0.2
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
187+ cpp-options: -DINTEGER_GMP
188+ build-depends: integer-gmp >= 0.2
190+ if impl(ghc >= 6.9) && impl(ghc < 6.11)
191+ cpp-options: -DINTEGER_GMP
192+ build-depends: integer >= 0.1 && < 0.2
183source-repository head
194source-repository head
184 type: git
195 type: git