Ken Takata wrote:

> When I compile Vim for MSYS2 (linked with msys-2.0.dll), I found that Win32
> clipboard is not enabled.  MSYS2 is a fork of Cygwin, so the following patch
> works fine.
> 
> --- a/src/configure.in
> +++ b/src/configure.in
> @@ -2805,7 +2805,7 @@ dnl ------------------------------------
>  dnl Check for Cygwin, which needs an extra source file if not using X11
>  AC_MSG_CHECKING(for CYGWIN 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
> 
> BTW, the official binary from MSYS2 is clipboard-enabled, so an MSYS2
> maintainer might apply a similar patch.

Nice and simple, thanks.

-- 
hundred-and-one symptoms of being an internet addict:
144. You eagerly await the update of the "Cool Site of the Day."

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui