Mercurial > vim
diff src/configure.ac @ 12757:f473855aa9a9 v8.0.1256
patch 8.0.1256: typo in configure variable vim_cv_tgent
commit https://github.com/vim/vim/commit/a88254f70458e7d4c998de7cc41aa06176eb61dc
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Nov 2 23:04:14 2017 +0100
patch 8.0.1256: typo in configure variable vim_cv_tgent
Problem: Typo in configure variable vim_cv_tgent. (Matthieu Guillard)
Solution: Rename the variable. (closes https://github.com/vim/vim/issues/2281)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 02 Nov 2017 23:15:05 +0100 |
parents | 351cf7c67bbe |
children | 963cdeb42c41 |
line wrap: on
line diff
--- a/src/configure.ac +++ b/src/configure.ac @@ -3388,7 +3388,7 @@ if test "x$vim_cv_terminfo" = "xyes" ; t AC_DEFINE(TERMINFO) fi -AC_CACHE_CHECK([what tgetent() returns for an unknown terminal], [vim_cv_tgent], +AC_CACHE_CHECK([what tgetent() returns for an unknown terminal], [vim_cv_tgetent], [ AC_RUN_IFELSE([AC_LANG_SOURCE([[ #include "confdefs.h" @@ -3402,15 +3402,15 @@ AC_CACHE_CHECK([what tgetent() returns f main() {char s[10000]; int res = tgetent(s, "thisterminaldoesnotexist"); exit(res != 0); } ]])],[ - vim_cv_tgent=zero + vim_cv_tgetent=zero ],[ - vim_cv_tgent=non-zero + vim_cv_tgetent=non-zero ],[ AC_MSG_ERROR(failed to compile test program.) ]) ]) -if test "x$vim_cv_tgent" = "xzero" ; then +if test "x$vim_cv_tgetent" = "xzero" ; then AC_DEFINE(TGETENT_ZERO_ERR, 0) fi