- -- This is actually something of a hack, as if we are using
- -- GHC and we don't have an rts package for some reason, we
- -- actually ought to fail.
- if flag(IsGHC) {
- build-depends: rts
+ if impl(ghc) {
+ if flag(integer-simple)
+ build-depends: integer-simple
+ else
+ build-depends: integer-gmp
+ cpp-options: -DOPTIMISE_INTEGER_GCD_LCM
+ build-depends: rts, ghc-prim