[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] trunk r114394: Auto-commit of generated files.
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] trunk r114394: Auto-commit of generated files. |
Date: |
Thu, 19 Sep 2013 10:17:43 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 114394
revision-id: address@hidden
parent: address@hidden
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Thu 2013-09-19 06:17:39 -0400
message:
Auto-commit of generated files.
modified:
autogen/configure configure-20091113204419-o5vbwnq5f7feedwu-1624
=== modified file 'autogen/configure'
--- a/autogen/configure 2013-09-17 10:17:44 +0000
+++ b/autogen/configure 2013-09-19 10:17:39 +0000
@@ -4623,6 +4623,17 @@
* ) srcdir=`(cd "$srcdir"; pwd)` ;;
esac
+#### When building with MinGW inside the MSYS tree, 'pwd' produces
+#### directories relative to the root of the MSYS tree,
+#### e.g. '/home/user/foo' instead of '/d/MSYS/home/user/foo'. When
+#### such a value of srcdir is written to the top-level Makefile, it
+#### gets propagated to src/epaths.h, and that causes temacs to fail,
+#### because, being a MinGW program that knows nothing of MSYS root
+#### substitution, it cannot find the data directory. "pwd -W"
+#### produces Windows-style 'd:/foo/bar' absolute directory names, so
+#### we use it here to countermand that lossage.
+test "$MSYSTEM" = "MINGW32" && srcdir=`(cd "$srcdir"; pwd -W | sed -e
's,^\([A-Za-z]\):,/\1,')`
+
### Canonicalize the configuration name.
# Make sure we can run config.sub.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] trunk r114394: Auto-commit of generated files.,
Glenn Morris <=