From: Andrew Innes Date: Wed, 15 Jan 2003 12:04:38 +0000 (+0000) Subject: (CURDIR): Convert to native Windows format (with X-Git-Tag: ttn-vms-21-2-B4~11641 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e2f4caea36baf88c95a4fddc4f57c969d8f78834;p=emacs.git (CURDIR): Convert to native Windows format (with forward slashes), to support building with Cygwin builds of make. --- diff --git a/nt/gmake.defs b/nt/gmake.defs index 2235417aca4..9671142be63 100644 --- a/nt/gmake.defs +++ b/nt/gmake.defs @@ -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