Make configure fail if deriving the constants fails
[packages/integer-gmp.git] / integer.cabal
1 name:           integer
2 version:        0.1.0.0
3 license:        BSD3
4 license-file:   LICENSE
5 maintainer:     libraries@haskell.org
6 bug-reports: http://hackage.haskell.org/trac/ghc/newticket?component=libraries%20%28other%29
7 synopsis:       Integer library based on GMP
8 description:
9     This package contains an Integer library based on GMP.
10 cabal-version:  >=1.6
11 build-type: Configure
12
13 extra-source-files:
14   cbits/float.c
15   cbits/alloc.c
16   cbits/longlong.c
17
18 source-repository head
19     type:     darcs
20     location: http://darcs.haskell.org/packages/integer-gmp/
21
22 Library {
23     build-depends: ghc-prim
24     exposed-modules: GHC.Integer
25                      GHC.Integer.Internals
26     extensions: CPP, MagicHash, UnboxedTuples,
27                 ForeignFunctionInterface, UnliftedFFITypes
28     -- We need to set the package name to integer (without a version number)
29     -- as it's magic.
30     ghc-options: -package-name integer
31     c-sources: cbits/cbits.c
32 }