comparison 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
comparison
equal deleted inserted replaced
7341:c61a87f9e679 7342:b871e4bdb319
2790 dnl --------------------------------------------------------------------------- 2790 dnl ---------------------------------------------------------------------------
2791 dnl end of GUI-checking 2791 dnl end of GUI-checking
2792 dnl --------------------------------------------------------------------------- 2792 dnl ---------------------------------------------------------------------------
2793 2793
2794 dnl Check for Cygwin, which needs an extra source file if not using X11 2794 dnl Check for Cygwin, which needs an extra source file if not using X11
2795 AC_MSG_CHECKING(for CYGWIN environment) 2795 AC_MSG_CHECKING(for CYGWIN or MSYS environment)
2796 case `uname` in 2796 case `uname` in
2797 CYGWIN*) CYGWIN=yes; AC_MSG_RESULT(yes) 2797 CYGWIN*|MSYS*) CYGWIN=yes; AC_MSG_RESULT(yes)
2798 AC_MSG_CHECKING(for CYGWIN clipboard support) 2798 AC_MSG_CHECKING(for CYGWIN clipboard support)
2799 if test "x$with_x" = "xno" ; then 2799 if test "x$with_x" = "xno" ; then
2800 OS_EXTRA_SRC=winclip.c; OS_EXTRA_OBJ=objects/winclip.o 2800 OS_EXTRA_SRC=winclip.c; OS_EXTRA_OBJ=objects/winclip.o
2801 AC_MSG_RESULT(yes) 2801 AC_MSG_RESULT(yes)
2802 AC_DEFINE(FEAT_CYGWIN_WIN32_CLIPBOARD) 2802 AC_DEFINE(FEAT_CYGWIN_WIN32_CLIPBOARD)