Urk, the 'import Pretty' in this module was a bit of a hack; when
compiled as part of the standalone ghc-pkg tool it referred to the
Pretty library from the util package, but when compiled as part of the
compiler it referred to the compiler's own Pretty module. Hack around
this.
-----------------------------------------------------------------------------
--- $Id: Package.hs,v 1.4 2002/09/09 11:32:38 simonmar Exp $
+-- $Id: Package.hs,v 1.5 2002/09/09 12:10:01 simonmar Exp $
--
-- Package configuration defn.
-----------------------------------------------------------------------------
#endif
#ifdef WANT_PRETTY
-#if __GLASGOW_HASKELL__ >= 504
+#if __GLASGOW_HASKELL__ >= 504 && !defined(INTERNAL_PRETTY)
import Text.PrettyPrint
#else
import Pretty