diff options
author | Kazu Yamamoto <kazu@iij.ad.jp> | 2010-04-06 18:49:38 +0900 |
---|---|---|
committer | Kazu Yamamoto <kazu@iij.ad.jp> | 2010-04-06 18:49:38 +0900 |
commit | 19cd857470e3a46a3d8e06d84c0728a08061646f (patch) | |
tree | 54eebbd1ca5ef8786fe3afec5f67a76af092f609 /dns.cabal | |
parent | b38c9c1070e6539f43711253dabf12e73bf223db (diff) |
GHC version check.
Diffstat (limited to 'dns.cabal')
-rw-r--r-- | dns.cabal | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -13,7 +13,10 @@ Category: Network Cabal-Version: >= 1.6 Build-Type: Simple library - GHC-Options: -Wall -fno-warn-unused-do-bind + if impl(ghc >= 6.12) + GHC-Options: -Wall -O2 -fno-warn-unused-do-bind + else + GHC-Options: -Wall -O2 Exposed-Modules: Network.DNS Network.DNS.Lookup Network.DNS.Resolver @@ -22,7 +25,7 @@ library Network.DNS.StateBinary Network.DNS.Query Network.DNS.Response - Build-Depends: base == 4.2.*, haskell98, + Build-Depends: base >= 4 && < 5, haskell98, binary, iproute, containers, mtl, bytestring, network, network-bytestring |