diff nt/gmake.defs @ 49258:eea4a0604c4a

(CURDIR): Convert to native Windows format (with forward slashes), to support building with Cygwin builds of make.
author Andrew Innes <andrewi@gnu.org>
date Wed, 15 Jan 2003 12:04:38 +0000
parents 4d7b83cc03aa
children 7dcad50a6b3e
line wrap: on
line diff
--- a/nt/gmake.defs	Wed Jan 15 12:01:14 2003 +0000
+++ b/nt/gmake.defs	Wed Jan 15 12:04:38 2003 +0000
@@ -78,6 +78,10 @@
 
 MAKETYPE=gmake
 
+# Convert CURDIR to native file name, if in Cygwin format
+ifeq "$(shell cygpath $(CURDIR))" "$(CURDIR)"
+CURDIR	        := $(shell cygpath -m $(CURDIR))
+endif
 THISDIR		= .
 
 # Cygwin has changed quoting rules somewhat since b20, in a way that