[project @ 2002-09-09 12:11:44 by simonmar]
authorsimonmar <unknown>
Mon, 9 Sep 2002 12:11:44 +0000 (12:11 +0000)
committersimonmar <unknown>
Mon, 9 Sep 2002 12:11:44 +0000 (12:11 +0000)
Make sure we get the compiler's own Pretty library when we #include
../utils/ghc-pkg/Package.hs.

ghc/compiler/main/Packages.lhs

index 43b96ec..190a1f8 100644 (file)
@@ -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