+ifeq "$(strip $(prefix))" ""
+prefix = c:/ghc
+endif
+
+ifacedir = $(libdir)
+
+ifeq "$(strip $(exec_prefix))" ""
+exec_prefix = $(prefix)
+endif
+ifeq "$(strip $(bindir))" ""
+bindir = $(exec_prefix)/bin
+endif
+
+libexecdir = $(libdir)
+
+ifeq "$(strip $(datadir))" ""
+datadir = $(prefix)/imports
+endif
+ifeq "$(strip $(libdir))" ""
+libdir = $(prefix)
+endif
+ifeq "$(strip $(includedir))" ""
+includedir = $(prefix)/include
+endif
+
+else
+
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+bindir = @bindir@
+datadir0 = @datadir@
+libdir0 = @libdir@
+includedir = @includedir@
+oldincludedir = @oldincludedir@
+mandir = @mandir@