]> granicus.if.org Git - vim/commitdiff
patch 7.4.976 v7.4.976
authorBram Moolenaar <Bram@vim.org>
Thu, 17 Dec 2015 14:34:53 +0000 (15:34 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 17 Dec 2015 14:34:53 +0000 (15:34 +0100)
Problem:    When compiling Vim for MSYS2 (linked with msys-2.0.dll), the Win32
            clipboard is not enabled.
Solution:   Recognize MSYS like CYGWIN. (Ken Takata)

src/auto/configure
src/configure.in
src/version.c

index 0564b9f3a060ee17bfb7f9a6e55d5be33d8491ae..7e1d76dcf6766cb486cfc4c3a1bce997d5eec4a6 100755 (executable)
@@ -9501,10 +9501,10 @@ fi
 
 
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CYGWIN environment" >&5
-$as_echo_n "checking for CYGWIN environment... " >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CYGWIN or MSYS environment" >&5
+$as_echo_n "checking for CYGWIN or MSYS environment... " >&6; }
 case `uname` in
-    CYGWIN*)    CYGWIN=yes; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+    CYGWIN*|MSYS*)    CYGWIN=yes; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 $as_echo "yes" >&6; }
                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CYGWIN clipboard support" >&5
 $as_echo_n "checking for CYGWIN clipboard support... " >&6; }
index 3934f88c542f70c76707188ad890ad41777e427c..7b901d8286f3c82ef4697a4075f73c9c620e6d58 100644 (file)
@@ -2792,9 +2792,9 @@ dnl end of GUI-checking
 dnl ---------------------------------------------------------------------------
 
 dnl Check for Cygwin, which needs an extra source file if not using X11
-AC_MSG_CHECKING(for CYGWIN environment)
+AC_MSG_CHECKING(for CYGWIN or MSYS environment)
 case `uname` in
-    CYGWIN*)    CYGWIN=yes; AC_MSG_RESULT(yes)
+    CYGWIN*|MSYS*)    CYGWIN=yes; AC_MSG_RESULT(yes)
                 AC_MSG_CHECKING(for CYGWIN clipboard support)
                 if test "x$with_x" = "xno" ; then
                   OS_EXTRA_SRC=winclip.c; OS_EXTRA_OBJ=objects/winclip.o
index f7a4a20454c8c9fc996770e96c5cabd5013735b8..e034d450f6eccaef04e5045a43fe1f7f39abd7ff 100644 (file)
@@ -741,6 +741,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    976,
 /**/
     975,
 /**/