mirror of
https://github.com/vim/vim.git
synced 2025-08-24 19:45:50 -04:00
patch 9.1.1642: configure: wrong C99 feature test
Problem: configure: wrong C99 feature test Solution: Update inverted C99 feature test logic (Damien Lejay) closes: #18024 Signed-off-by: Damien Lejay <damien@lejay.be> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
parent
486cffab3e
commit
0ebe55af54
2
src/auto/configure
vendored
2
src/auto/configure
vendored
@ -4640,7 +4640,7 @@ fi
|
||||
|
||||
fi
|
||||
|
||||
if test x"$ac_cv_prog_cc_c99" != xno; then
|
||||
if test x"$ac_cv_prog_cc_c99" = xno; then
|
||||
|
||||
|
||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5
|
||||
|
@ -30,7 +30,7 @@ if test -z "$PKG_CONFIG"; then
|
||||
fi
|
||||
|
||||
dnl Check that the C99 features that Vim uses are supported:
|
||||
if test x"$ac_cv_prog_cc_c99" != xno; then
|
||||
if test x"$ac_cv_prog_cc_c99" = xno; then
|
||||
dnl If the compiler doesn't explicitly support C99, then check
|
||||
dnl for the specific features Vim uses
|
||||
|
||||
@ -2408,7 +2408,7 @@ AC_MSG_CHECKING(--with-wayland argument)
|
||||
AC_ARG_WITH(wayland,
|
||||
[ --with-wayland Include support for the Wayland protocol.],
|
||||
[with_wayland=$withval],
|
||||
AS_IF([test "x$features" = xtiny],
|
||||
AS_IF([test "x$features" = xtiny],
|
||||
[with_wayland=no
|
||||
AC_MSG_RESULT([cannot use wayland with tiny features])],
|
||||
[with_wayland=yes
|
||||
|
@ -719,6 +719,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1642,
|
||||
/**/
|
||||
1641,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user