From: rrt Date: Wed, 4 Apr 2001 11:21:10 +0000 (+0000) Subject: [project @ 2001-04-04 11:21:10 by rrt] X-Git-Tag: Approximately_9120_patches~2206 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=af9857ea2c80dc893dbd2919718a751c68901c2c;p=ghc-hetmet.git [project @ 2001-04-04 11:21:10 by rrt] Make FPTOOLS_TOP_ABS in a neater way. --- diff --git a/mk/config.mk.in b/mk/config.mk.in index dc252ee..3de4aab 100644 --- a/mk/config.mk.in +++ b/mk/config.mk.in @@ -401,14 +401,13 @@ endif # FPTOOLS_TOP: the top of the fptools hierarchy, absolute path. +ifeq "$(findstring $(TARGETPLATFORM), i386-unknown-cygwin32 i386-unknown-mingw32)" "" FPTOOLS_TOP_ABS = @hardtop@ -FPTOOLS_TOP_ABS_UNIX = @hardtop@ -ifeq "$(TARGETPLATFORM)" "i386-unknown-cygwin32" -FPTOOLS_TOP_ABS = $(subst \,/,$(shell cygpath -w @hardtop@)) -endif -ifeq "$(TARGETPLATFORM)" "i386-unknown-mingw32" +else FPTOOLS_TOP_ABS = $(subst \,/,$(shell cygpath -w @hardtop@)) endif +# Keep the Unix-style path to use with Unix tools (e.g. in ghc-inplace script) +FPTOOLS_TOP_ABS_UNIX = @hardtop@ # # Installation directories, we don't use half of these,