diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-02-26 14:56:42 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-02-26 14:56:42 +0100 |
commit | 693e40c2cdb65f19febde5664633ac465931cc63 (patch) | |
tree | 3c4ece28adb6806f3809f954ea134cd759b54ee5 /src/auto | |
parent | 53eb37e9f9dfba51092f72553d79d3bb677a336b (diff) | |
download | vim-git-693e40c2cdb65f19febde5664633ac465931cc63.tar.gz |
updated for version 7.3.836v7.3.836
Problem: Clipboard does not work on Win32 when compiled with Cygwin.
Solution: Move the Win32 clipboard code to a separate file and use it when
building with os_unix.c. (Frodak Baksik, Ken Takata)
Diffstat (limited to 'src/auto')
-rwxr-xr-x | src/auto/configure | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/auto/configure b/src/auto/configure index 5244a2eb4..463529757 100755 --- a/src/auto/configure +++ b/src/auto/configure @@ -8846,6 +8846,27 @@ fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CYGWIN environment" >&5 +$as_echo_n "checking for CYGWIN environment... " >&6; } +case `uname` in + CYGWIN*) 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; } + if test "x$with_x" = "xno" ; then + OS_EXTRA_SRC=winclip.c; OS_EXTRA_OBJ=objects/winclip.o + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + $as_echo "#define FEAT_CYGWIN_WIN32_CLIPBOARD 1" >>confdefs.h + + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using X11" >&5 +$as_echo "no - using X11" >&6; } + fi ;; + + *) CYGWIN=no; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; };; +esac if test "$enable_hangulinput" = "yes"; then if test "x$GUITYPE" = "xNONE"; then |