summaryrefslogtreecommitdiff
path: root/src/configure.ac
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-11-02 23:04:14 +0100
committerBram Moolenaar <Bram@vim.org>2017-11-02 23:04:14 +0100
commita88254f70458e7d4c998de7cc41aa06176eb61dc (patch)
tree2e8f1eb153a52b88bd71bf3f94764cfd62533b08 /src/configure.ac
parent01164a6546b4c635daf96a1f17d1cb2d07f32a66 (diff)
downloadvim-git-a88254f70458e7d4c998de7cc41aa06176eb61dc.tar.gz
patch 8.0.1256: typo in configure variable vim_cv_tgentv8.0.1256
Problem: Typo in configure variable vim_cv_tgent. (Matthieu Guillard) Solution: Rename the variable. (closes #2281)
Diffstat (limited to 'src/configure.ac')
-rw-r--r--src/configure.ac8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/configure.ac b/src/configure.ac
index f4c01943d..e28712413 100644
--- a/src/configure.ac
+++ b/src/configure.ac
@@ -3388,7 +3388,7 @@ if test "x$vim_cv_terminfo" = "xyes" ; then
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 for an unknown terminal], [vim_cv_tgent],
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