From 214f32e43e33285f2c3c05c55a4963d665e33e23 Mon Sep 17 00:00:00 2001 From: David Waern Date: Sat, 28 Nov 2009 15:05:03 +0000 Subject: Remove cruft due to compatibility with older GHCs --- haddock.cabal | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'haddock.cabal') diff --git a/haddock.cabal b/haddock.cabal index a382eddc..e6fc6e02 100644 --- a/haddock.cabal +++ b/haddock.cabal @@ -116,16 +116,6 @@ executable haddock Haddock.GhcUtils Haddock.Convert - -- Cabal doesn't define __GHC_PATCHLEVEL__ - if impl(ghc == 6.10.1) - cpp-options: -D__GHC_PATCHLEVEL__=1 - if impl(ghc == 6.10.2) - cpp-options: -D__GHC_PATCHLEVEL__=2 - if impl(ghc == 6.10.3) - cpp-options: -D__GHC_PATCHLEVEL__=3 - if impl(ghc == 6.10.4) - cpp-options: -D__GHC_PATCHLEVEL__=4 - library hs-source-dirs: src extensions: CPP, PatternGuards, DeriveDataTypeable, @@ -137,16 +127,5 @@ library Haddock.Utils Haddock.GhcUtils - -- Cabal doesn't define __GHC_PATCHLEVEL__ - if impl(ghc == 6.10.1) - cpp-options: -D__GHC_PATCHLEVEL__=1 - if impl(ghc == 6.10.2) - cpp-options: -D__GHC_PATCHLEVEL__=2 - if impl(ghc == 6.10.3) - cpp-options: -D__GHC_PATCHLEVEL__=3 - if impl(ghc == 6.10.4) - cpp-options: -D__GHC_PATCHLEVEL__=4 - if flag(in-ghc-tree) buildable: False - -- cgit v1.2.3