From: Ross Paterson Date: Sun, 19 Aug 2007 23:35:00 +0000 (+0000) Subject: test impl(ghc) instead of IsGHC X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=fb1bea8371fd34f8fb9858a315773a8b0492f295;p=ghc-base.git test impl(ghc) instead of IsGHC --- diff --git a/base.cabal b/base.cabal index 2758ee8..b468df6 100644 --- a/base.cabal +++ b/base.cabal @@ -9,16 +9,11 @@ description: and a large collection of useful libraries ranging from data structures to parsing combinators and debugging utilities. -Flag IsGHC { - Description: Are we compiling with GHC? - Default: True -} - Library { -- 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) { + if impl(ghc) { build-depends: rts exposed-modules: Data.Generics,