comparison src/configure.ac @ 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
3508 fi 3508 fi
3509 fi 3509 fi
3510 3510
3511 if test "x$olibs" = "x$LIBS"; then 3511 if test "x$olibs" = "x$LIBS"; then
3512 AC_MSG_CHECKING([for tgetent()]) 3512 AC_MSG_CHECKING([for tgetent()])
3513 AC_TRY_LINK([], 3513 AC_TRY_LINK([int tgetent(char *, const char *);],
3514 [char s[10000]; int res = tgetent(s, "thisterminaldoesnotexist");], 3514 [char s[10000]; int res = tgetent(s, "thisterminaldoesnotexist");],
3515 AC_MSG_RESULT(yes), 3515 AC_MSG_RESULT(yes),
3516 AC_MSG_ERROR([NOT FOUND! 3516 AC_MSG_ERROR([NOT FOUND!
3517 You need to install a terminal library; for example ncurses. 3517 You need to install a terminal library; for example ncurses.
3518 Or specify the name of the library with --with-tlib.])) 3518 Or specify the name of the library with --with-tlib.]))