changeset 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 a456fbd1c87d
children d6211ef9bbb4
files nt/gmake.defs
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
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