[project @ 2001-03-07 10:23:03 by rrt]
authorrrt <unknown>
Wed, 7 Mar 2001 10:23:03 +0000 (10:23 +0000)
committerrrt <unknown>
Wed, 7 Mar 2001 10:23:03 +0000 (10:23 +0000)
Make Windows path mangling of FPTOOLS_TOP_ABS work.

mk/config.mk.in

index bf76828..2982a09 100644 (file)
@@ -399,10 +399,10 @@ endif
 
 FPTOOLS_TOP_ABS                = @hardtop@
 ifeq "$(TARGETPLATFORM)" "i386-unknown-cygwin32"
-FPTOOLS_TOP_ABS                = $(patsubst /cygdrive/%/,%:/,@hardtop@)
+FPTOOLS_TOP_ABS                = $(subst \,/,$(shell cygpath -w @hardtop@))
 endif
 ifeq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
-FPTOOLS_TOP_ABS                = $(patsubst /cygdrive/%/,%:/,@hardtop@)
+FPTOOLS_TOP_ABS                = $(subst \,/,$(shell cygpath -w @hardtop@))
 endif
 
 #