-#------------------------------------------------------------------------
-# If you are adjusting paths by hand for a binary GHC distribution,
-# de-commenting the line to set GLASGOW_HASKELL_ROOT should do.
-# Or you can leave it as is, and set the environment variable externally.
-#------------------------------------------------------------------------
-# $ENV{'GLASGOW_HASKELL_ROOT'} = '/some/absolute/path/name';
-
-if (! $ENV{'GLASGOW_HASKELL_ROOT'}) { # good -- death to environment variables
- $TopPwd = ${TOP_PWD};
- $InstLibDirGhc = ${INSTALL_LIB_DIR};
- $InstDataDirGhc = ${INSTALL_DATA_DIR};
-} else {
- $TopPwd = $ENV{'GLASGOW_HASKELL_ROOT'};
+$TopPwd = "${TOP_PWD}";
+$InstLibDirGhc = "${libdir}";
+$InstHsLibDirGhc = "${libdir}/hslibs";
+$InstDataDirGhc = "${datadir}";