From: simonmar Date: Mon, 9 Sep 2002 12:11:44 +0000 (+0000) Subject: [project @ 2002-09-09 12:11:44 by simonmar] X-Git-Tag: Approx_11550_changesets_converted~1702 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=f58fd1c755e17002102c84436f9803c4a1c4c4d0;p=ghc-hetmet.git [project @ 2002-09-09 12:11:44 by simonmar] Make sure we get the compiler's own Pretty library when we #include ../utils/ghc-pkg/Package.hs. --- diff --git a/ghc/compiler/main/Packages.lhs b/ghc/compiler/main/Packages.lhs index 43b96ec..190a1f8 100644 --- a/ghc/compiler/main/Packages.lhs +++ b/ghc/compiler/main/Packages.lhs @@ -12,6 +12,7 @@ module Packages ( PackageConfig(..), where #include "HsVersions.h" + import Pretty import CmdLineOpts ( dynFlag, verbosity ) @@ -22,7 +23,9 @@ import Outputable ( docToSDoc ) \begin{code} #define WANT_PRETTY --- Yes, do generate pretty-printing stuff for packages +#define INTERNAL_PRETTY +-- Yes, do generate pretty-printing stuff for packages, and use our +-- own Pretty library rather than Text.PrettyPrint -- There's a blob of code shared with ghc-pkg, -- so we just include it from there