[Port .cabal file to handle configurations, builds with ghc 6.8
Don Stewart <dons@galois.com>**20071118005323] {
hunk ./ChasingBottoms.cabal 1
-name: ChasingBottoms
-version: 1.2.1
-license: OtherLicense
-license-file: LICENCE
-copyright: Copyright (c) Nils Anders Danielsson 2004-2007.
-author: Nils Anders Danielsson
-maintainer: http://www.cs.chalmers.se/~nad/contact.html
-stability: experimental
-homepage: http://www.cs.chalmers.se/~nad/software/#Chasing Bottoms
-package-url: http://www.cs.chalmers.se/~nad/software/ChasingBottoms/ChasingBottoms.tgz
-synopsis: For testing partial and infinite values.
-description: Do you ever feel the need to test code involving bottoms
-  (e.g. calls to the error function), or code involving infinite values?
-  Then this library could be useful for you.
-category: Test
-tested-with: GHC==6.6
-build-depends: base==2.0, QuickCheck==1.0, mtl==1.0
-exposed-modules: Test.ChasingBottoms, Test.ChasingBottoms.Approx,
-  Test.ChasingBottoms.ApproxShow,
-  Test.ChasingBottoms.ContinuousFunctions,
-  Test.ChasingBottoms.IsBottom, Test.ChasingBottoms.Nat,
-  Test.ChasingBottoms.SemanticOrd, Test.ChasingBottoms.TimeOut
-other-modules: Test.ChasingBottoms.IsType
+name:               ChasingBottoms
+version:            1.2.1
+license:            OtherLicense
+license-file:       LICENCE
+copyright:          Copyright (c) Nils Anders Danielsson 2004-2007.
+author:             Nils Anders Danielsson
+maintainer:         http://www.cs.chalmers.se/~nad/contact.html
+stability:          experimental
+homepage:           http://www.cs.chalmers.se/~nad/software/#Chasing Bottoms
+package-url:        http://www.cs.chalmers.se/~nad/software/ChasingBottoms/ChasingBottoms.tgz
+synopsis:           For testing partial and infinite values.
+description:        .
+    Do you ever feel the need to test code involving bottoms
+    (e.g. calls to the error function), or code involving infinite values?
+    Then this library could be useful for you.
+category:           Test
+tested-with:        GHC==6.6
+cabal-version:      >= 1.2
+
+flag small_base
+    description: Choose the new smaller, split-up base package.
+
+library
+    exposed-modules:
+        Test.ChasingBottoms,
+        Test.ChasingBottoms.Approx,
+        Test.ChasingBottoms.ApproxShow,
+        Test.ChasingBottoms.ContinuousFunctions,
+        Test.ChasingBottoms.IsBottom,
+        Test.ChasingBottoms.Nat,
+        Test.ChasingBottoms.SemanticOrd,
+        Test.ChasingBottoms.TimeOut
+
+    other-modules: Test.ChasingBottoms.IsType
+
+    build-depends: QuickCheck, mtl
+    if flag(small_base)
+        build-depends: base >= 3, containers, random
+    else
+        build-depends: base < 3
+
hunk ./ChasingBottoms.cabal 45
-ghc-options: -O2
+    ghc-options: -O2
}