diff options
| author | Andrew Innes | 2003-01-15 12:04:38 +0000 |
|---|---|---|
| committer | Andrew Innes | 2003-01-15 12:04:38 +0000 |
| commit | e2f4caea36baf88c95a4fddc4f57c969d8f78834 (patch) | |
| tree | fe676a472bda1be8145b8ff9287773008ef806bf | |
| parent | df07339abb72bacf8538628d5abcbbdfd4e0e54d (diff) | |
| download | emacs-e2f4caea36baf88c95a4fddc4f57c969d8f78834.tar.gz emacs-e2f4caea36baf88c95a4fddc4f57c969d8f78834.zip | |
(CURDIR): Convert to native Windows format (with
forward slashes), to support building with Cygwin builds of make.
| -rw-r--r-- | nt/gmake.defs | 4 |
1 files changed, 4 insertions, 0 deletions
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 | |||
| 78 | 78 | ||
| 79 | MAKETYPE=gmake | 79 | MAKETYPE=gmake |
| 80 | 80 | ||
| 81 | # Convert CURDIR to native file name, if in Cygwin format | ||
| 82 | ifeq "$(shell cygpath $(CURDIR))" "$(CURDIR)" | ||
| 83 | CURDIR := $(shell cygpath -m $(CURDIR)) | ||
| 84 | endif | ||
| 81 | THISDIR = . | 85 | THISDIR = . |
| 82 | 86 | ||
| 83 | # Cygwin has changed quoting rules somewhat since b20, in a way that | 87 | # Cygwin has changed quoting rules somewhat since b20, in a way that |