comparison src/auto/configure @ 21520:25cdb1d6585a v8.2.1310

patch 8.2.1310: configure with Xcode 12 fails to check for tgetent Commit: https://github.com/vim/vim/commit/bd7f7c123db58dd7f50f4d1391577686d2f1bcc6 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jul 28 21:03:37 2020 +0200 patch 8.2.1310: configure with Xcode 12 fails to check for tgetent Problem: Configure with Xcode 12 fails to check for tgetent. Solution: Declare tgetent(). (Ozaki Kiichi, closes https://github.com/vim/vim/issues/6558)
author Bram Moolenaar <Bram@vim.org>
date Tue, 28 Jul 2020 21:15:04 +0200
parents 228a3719c49f
children 13e0857cb114
comparison
equal deleted inserted replaced
21519:34b25c9c3d3f 21520:25cdb1d6585a
12104 if test "x$olibs" = "x$LIBS"; then 12104 if test "x$olibs" = "x$LIBS"; then
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent()" >&5 12105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent()" >&5
12106 $as_echo_n "checking for tgetent()... " >&6; } 12106 $as_echo_n "checking for tgetent()... " >&6; }
12107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12108 /* end confdefs.h. */ 12108 /* end confdefs.h. */
12109 12109 int tgetent(char *, const char *);
12110 int 12110 int
12111 main () 12111 main ()
12112 { 12112 {
12113 char s[10000]; int res = tgetent(s, "thisterminaldoesnotexist"); 12113 char s[10000]; int res = tgetent(s, "thisterminaldoesnotexist");
12114 ; 12114 ;