emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r115519: * configure.ac (srcdir) [MINGW32]: Convert


From: Dani Moncayo
Subject: [Emacs-diffs] trunk r115519: * configure.ac (srcdir) [MINGW32]: Convert to an absolute MSYS
Date: Sat, 14 Dec 2013 09:31:17 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 115519
revision-id: address@hidden
parent: address@hidden
committer: Dani Moncayo <address@hidden>
branch nick: trunk
timestamp: Sat 2013-12-14 10:30:15 +0100
message:
  * configure.ac (srcdir) [MINGW32]: Convert to an absolute MSYS
  path of the form "/c/foo/bar" to simplify conversion of formats.
modified:
  ChangeLog                      changelog-20091113204419-o5vbwnq5f7feedwu-1538
  configure.ac                   
configure.in-20091113204419-o5vbwnq5f7feedwu-783
=== modified file 'ChangeLog'
--- a/ChangeLog 2013-12-13 18:25:30 +0000
+++ b/ChangeLog 2013-12-14 09:30:15 +0000
@@ -1,3 +1,8 @@
+2013-12-14  Dani Moncayo  <address@hidden>
+
+       * configure.ac (srcdir) [MINGW32]: Convert to an absolute MSYS
+       path of the form "/c/foo/bar" to simplify conversion of formats.
+
 2013-12-13  Glenn Morris  <address@hidden>
 
        * INSTALL: No longer mention load-path and site-init/site-load.

=== modified file 'configure.ac'
--- a/configure.ac      2013-12-12 04:53:59 +0000
+++ b/configure.ac      2013-12-14 09:30:15 +0000
@@ -24,7 +24,16 @@
 AC_PREREQ(2.65)
 AC_INIT(emacs, 24.3.50)
 
-test "x$MSYSTEM" = "xMINGW32" && . $srcdir/nt/mingw-cfg.site
+if test "x$MSYSTEM" = "xMINGW32"
+then
+   . $srcdir/nt/mingw-cfg.site
+
+   # Convert srcdir to an absolute MSYS path of the form "/c/foo/bar"
+   # to simplify later conversions of paths to windows-native format
+   # "c:/foo/bar"
+   srcdir=`cd "${srcdir}" && pwd -W`
+   srcdir="/${srcdir:0:1}${srcdir:2}"
+fi
 
 dnl Set emacs_config_options to the options of 'configure', quoted for the 
shell,
 dnl and then quoted again for a C string.  Separate options with spaces.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]