From f58fd1c755e17002102c84436f9803c4a1c4c4d0 Mon Sep 17 00:00:00 2001 From: simonmar Date: Mon, 9 Sep 2002 12:11:44 +0000 Subject: [PATCH] [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. --- ghc/compiler/main/Packages.lhs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 1.7.10.4