]> git.eshelyaron.com Git - emacs.git/commitdiff
(CURDIR): Convert to native Windows format (with
authorAndrew Innes <andrewi@gnu.org>
Wed, 15 Jan 2003 12:04:38 +0000 (12:04 +0000)
committerAndrew Innes <andrewi@gnu.org>
Wed, 15 Jan 2003 12:04:38 +0000 (12:04 +0000)
forward slashes), to support building with Cygwin builds of make.

nt/gmake.defs

index 2235417aca43b2e72f6a86b8bf4128b02c829976..9671142be63e64e5b841341a4ce611dbce61f4cb 100644 (file)
@@ -78,6 +78,10 @@ endif
 
 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