comparison src/auto/configure @ 29224:ca46658481cf v8.2.5131

patch 8.2.5131: timeout implementation is not optimal Commit: https://github.com/vim/vim/commit/e530395c2cd261d598094dc9ea785e90a753c5f1 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jun 19 17:05:47 2022 +0100 patch 8.2.5131: timeout implementation is not optimal Problem: Timeout implementation is not optimal. Solution: Further improvements for timeouts. Add a test for searchpair() timeout. (partly by Paul Ollis)
author Bram Moolenaar <Bram@vim.org>
date Sun, 19 Jun 2022 18:15:03 +0200
parents 9781c150eddd
children 204944c81b19
comparison
equal deleted inserted replaced
29223:18ff9d5a73ed 29224:ca46658481cf
4767 4767
4768 if test "$enable_darwin" = "yes"; then 4768 if test "$enable_darwin" = "yes"; then
4769 MACOS_X_DARWIN=yes 4769 MACOS_X_DARWIN=yes
4770 OS_EXTRA_SRC="os_macosx.m os_mac_conv.c"; 4770 OS_EXTRA_SRC="os_macosx.m os_mac_conv.c";
4771 OS_EXTRA_OBJ="objects/os_macosx.o objects/os_mac_conv.o" 4771 OS_EXTRA_OBJ="objects/os_macosx.o objects/os_mac_conv.o"
4772 $as_echo "#define HAVE_TIMER_CREATE 1" >>confdefs.h
4773
4772 CPPFLAGS="$CPPFLAGS -DMACOS_X_DARWIN" 4774 CPPFLAGS="$CPPFLAGS -DMACOS_X_DARWIN"
4773 4775
4774 if test -z "$with_x" -a "X$enable_gui" != Xmotif -a "X$enable_gui" != Xgtk2 -a "X$enable_gui" != Xgtk3; then 4776 if test -z "$with_x" -a "X$enable_gui" != Xmotif -a "X$enable_gui" != Xgtk2 -a "X$enable_gui" != Xgtk3; then
4775 with_x=no 4777 with_x=no
4776 fi 4778 fi
13042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13043 /* end confdefs.h. */ 13045 /* end confdefs.h. */
13044 13046
13045 #include<signal.h> 13047 #include<signal.h>
13046 #include<time.h> 13048 #include<time.h>
13047 static void set_flag(union sigval) {} 13049 static void set_flag(union sigval sv) {}
13048 13050
13049 int 13051 int
13050 main () 13052 main ()
13051 { 13053 {
13052 13054
13071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13072 /* end confdefs.h. */ 13074 /* end confdefs.h. */
13073 13075
13074 #include<signal.h> 13076 #include<signal.h>
13075 #include<time.h> 13077 #include<time.h>
13076 static void set_flag(union sigval) {} 13078 static void set_flag(union sigval sv) {}
13077 13079
13078 int 13080 int
13079 main () 13081 main ()
13080 { 13082 {
13081 13083