diff src/auto/configure @ 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/auto/configure
+++ b/src/auto/configure
@@ -11553,7 +11553,7 @@ fi
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what tgetent() returns for an unknown terminal" >&5
 $as_echo_n "checking what tgetent() returns for an unknown terminal... " >&6; }
-if ${vim_cv_tgent+:} false; then :
+if ${vim_cv_tgetent+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -11579,11 +11579,11 @@ main()
 _ACEOF
 if ac_fn_c_try_run "$LINENO"; then :
 
-      vim_cv_tgent=zero
-
-else
-
-      vim_cv_tgent=non-zero
+      vim_cv_tgetent=zero
+
+else
+
+      vim_cv_tgetent=non-zero
 
 fi
 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
@@ -11592,10 +11592,10 @@ fi
 
 
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $vim_cv_tgent" >&5
-$as_echo "$vim_cv_tgent" >&6; }
-
-if test "x$vim_cv_tgent" = "xzero" ; then
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $vim_cv_tgetent" >&5
+$as_echo "$vim_cv_tgetent" >&6; }
+
+if test "x$vim_cv_tgetent" = "xzero" ; then
   $as_echo "#define TGETENT_ZERO_ERR 0" >>confdefs.h
 
 fi