Skip to content

Commit a88254f

Browse files
committed
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 #2281)
1 parent 01164a6 commit a88254f

File tree

3 files changed

+12
-10
lines changed

3 files changed

+12
-10
lines changed

src/auto/configure

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11553,7 +11553,7 @@ fi
1155311553

1155411554
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what tgetent() returns for an unknown terminal" >&5
1155511555
$as_echo_n "checking what tgetent() returns for an unknown terminal... " >&6; }
11556-
if ${vim_cv_tgent+:} false; then :
11556+
if ${vim_cv_tgetent+:} false; then :
1155711557
$as_echo_n "(cached) " >&6
1155811558
else
1155911559

@@ -11579,11 +11579,11 @@ main()
1157911579
_ACEOF
1158011580
if ac_fn_c_try_run "$LINENO"; then :
1158111581

11582-
vim_cv_tgent=zero
11582+
vim_cv_tgetent=zero
1158311583

1158411584
else
1158511585

11586-
vim_cv_tgent=non-zero
11586+
vim_cv_tgetent=non-zero
1158711587

1158811588
fi
1158911589
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
@@ -11592,10 +11592,10 @@ fi
1159211592

1159311593

1159411594
fi
11595-
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $vim_cv_tgent" >&5
11596-
$as_echo "$vim_cv_tgent" >&6; }
11595+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $vim_cv_tgetent" >&5
11596+
$as_echo "$vim_cv_tgetent" >&6; }
1159711597

11598-
if test "x$vim_cv_tgent" = "xzero" ; then
11598+
if test "x$vim_cv_tgetent" = "xzero" ; then
1159911599
$as_echo "#define TGETENT_ZERO_ERR 0" >>confdefs.h
1160011600

1160111601
fi

src/configure.ac

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3388,7 +3388,7 @@ if test "x$vim_cv_terminfo" = "xyes" ; then
33883388
AC_DEFINE(TERMINFO)
33893389
fi
33903390

3391-
AC_CACHE_CHECK([what tgetent() returns for an unknown terminal], [vim_cv_tgent],
3391+
AC_CACHE_CHECK([what tgetent() returns for an unknown terminal], [vim_cv_tgetent],
33923392
[
33933393
AC_RUN_IFELSE([AC_LANG_SOURCE([[
33943394
#include "confdefs.h"
@@ -3402,15 +3402,15 @@ AC_CACHE_CHECK([what tgetent() returns for an unknown terminal], [vim_cv_tgent],
34023402
main()
34033403
{char s[10000]; int res = tgetent(s, "thisterminaldoesnotexist"); exit(res != 0); }
34043404
]])],[
3405-
vim_cv_tgent=zero
3405+
vim_cv_tgetent=zero
34063406
],[
3407-
vim_cv_tgent=non-zero
3407+
vim_cv_tgetent=non-zero
34083408
],[
34093409
AC_MSG_ERROR(failed to compile test program.)
34103410
])
34113411
])
34123412

3413-
if test "x$vim_cv_tgent" = "xzero" ; then
3413+
if test "x$vim_cv_tgetent" = "xzero" ; then
34143414
AC_DEFINE(TGETENT_ZERO_ERR, 0)
34153415
fi
34163416

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -761,6 +761,8 @@ static char *(features[]) =
761761

762762
static int included_patches[] =
763763
{ /* Add new patch number below this line */
764+
/**/
765+
1256,
764766
/**/
765767
1255,
766768
/**/

0 commit comments

Comments
 (0)