patch 8.0.0587: configure check for return value of tgetent skipped
Problem: Configure check for return value of tgetent is skipped. Solution: Always perform the check. (Marvin Schmidt, closes #1664)
This commit is contained in:
6
src/auto/configure
vendored
6
src/auto/configure
vendored
@ -11506,8 +11506,7 @@ if test "x$vim_cv_terminfo" = "xyes" ; then
|
|||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "x$olibs" != "x$LIBS"; then
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what tgetent() returns for an unknown terminal" >&5
|
||||||
{ $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; }
|
$as_echo_n "checking what tgetent() returns for an unknown terminal... " >&6; }
|
||||||
if ${vim_cv_tgent+:} false; then :
|
if ${vim_cv_tgent+:} false; then :
|
||||||
$as_echo_n "(cached) " >&6
|
$as_echo_n "(cached) " >&6
|
||||||
@ -11551,10 +11550,9 @@ fi
|
|||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $vim_cv_tgent" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $vim_cv_tgent" >&5
|
||||||
$as_echo "$vim_cv_tgent" >&6; }
|
$as_echo "$vim_cv_tgent" >&6; }
|
||||||
|
|
||||||
if test "x$vim_cv_tgent" = "xzero" ; then
|
if test "x$vim_cv_tgent" = "xzero" ; then
|
||||||
$as_echo "#define TGETENT_ZERO_ERR 0" >>confdefs.h
|
$as_echo "#define TGETENT_ZERO_ERR 0" >>confdefs.h
|
||||||
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether termcap.h contains ospeed" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether termcap.h contains ospeed" >&5
|
||||||
|
|||||||
@ -3355,8 +3355,7 @@ if test "x$vim_cv_terminfo" = "xyes" ; then
|
|||||||
AC_DEFINE(TERMINFO)
|
AC_DEFINE(TERMINFO)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "x$olibs" != "x$LIBS"; then
|
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_tgent],
|
|
||||||
[
|
[
|
||||||
AC_RUN_IFELSE([AC_LANG_SOURCE([[
|
AC_RUN_IFELSE([AC_LANG_SOURCE([[
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
@ -3378,9 +3377,8 @@ main()
|
|||||||
])
|
])
|
||||||
])
|
])
|
||||||
|
|
||||||
if test "x$vim_cv_tgent" = "xzero" ; then
|
if test "x$vim_cv_tgent" = "xzero" ; then
|
||||||
AC_DEFINE(TGETENT_ZERO_ERR, 0)
|
AC_DEFINE(TGETENT_ZERO_ERR, 0)
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_MSG_CHECKING(whether termcap.h contains ospeed)
|
AC_MSG_CHECKING(whether termcap.h contains ospeed)
|
||||||
|
|||||||
@ -764,6 +764,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
587,
|
||||||
/**/
|
/**/
|
||||||
586,
|
586,
|
||||||
/**/
|
/**/
|
||||||
|
|||||||
Reference in New Issue
Block a user