Mercurial > vim
diff src/configure.in @ 7342:b871e4bdb319 v7.4.976
commit https://github.com/vim/vim/commit/8def26a0f5f5535e9af64e715cb80845fc8ec322
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Dec 17 15:34:53 2015 +0100
patch 7.4.976
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)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 17 Dec 2015 15:45:04 +0100 |
parents | 6f398bb76c29 |
children | 055a0b587a3e |
line wrap: on
line diff
--- a/src/configure.in +++ b/src/configure.in @@ -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