emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] trunk r115530: * configure.ac (srcdir) [MINGW32]: Tweak to


From: Dani Moncayo
Subject: [Emacs-diffs] trunk r115530: * configure.ac (srcdir) [MINGW32]: Tweak to revision 115519.
Date: Sat, 14 Dec 2013 22:08:39 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 115530
revision-id: address@hidden
parent: address@hidden
committer: Dani Moncayo <address@hidden>
branch nick: trunk
timestamp: Sat 2013-12-14 23:06:30 +0100
message:
  * configure.ac (srcdir) [MINGW32]: Tweak to revision 115519.
modified:
  ChangeLog                      changelog-20091113204419-o5vbwnq5f7feedwu-1538
  configure.ac                   
configure.in-20091113204419-o5vbwnq5f7feedwu-783
=== modified file 'ChangeLog'
--- a/ChangeLog 2013-12-14 21:36:44 +0000
+++ b/ChangeLog 2013-12-14 22:06:30 +0000
@@ -6,8 +6,9 @@
 
 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.
+       * configure.ac (srcdir) [MINGW32]: If it is an absolute path,
+       force the format "/c/foo/bar" to simplify conversions to native
+       windows format.
 
 2013-12-13  Glenn Morris  <address@hidden>
 

=== modified file 'configure.ac'
--- a/configure.ac      2013-12-14 21:36:44 +0000
+++ b/configure.ac      2013-12-14 22:06:30 +0000
@@ -28,11 +28,14 @@
 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}"
+   if test ${srcdir:0:1} = "/" -o ${srcdir:1:1} = ":"
+   then
+       # srcdir is an absolute path.  In this case, force the format
+       # "/c/foo/bar", to simplify later conversions to native Windows
+       # format ("c:/foo/bar")
+       srcdir=`cd "${srcdir}" && pwd -W`
+       srcdir="/${srcdir:0:1}${srcdir:2}"
+   fi
 fi
 
 dnl Set emacs_config_options to the options of 'configure', quoted for the 
shell,


reply via email to

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