0
0
mirror of https://github.com/vim/vim.git synced 2025-08-25 19:53:53 -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:
Damien Lejay 2025-08-17 21:05:40 +02:00 committed by Christian Brabandt
parent 486cffab3e
commit 0ebe55af54
No known key found for this signature in database
GPG Key ID: F3F92DA383FDDE09
3 changed files with 5 additions and 3 deletions

2
src/auto/configure vendored
View File

@ -4640,7 +4640,7 @@ fi
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 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5

View File

@ -30,7 +30,7 @@ if test -z "$PKG_CONFIG"; then
fi fi
dnl Check that the C99 features that Vim uses are supported: 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 If the compiler doesn't explicitly support C99, then check
dnl for the specific features Vim uses dnl for the specific features Vim uses
@ -2408,7 +2408,7 @@ AC_MSG_CHECKING(--with-wayland argument)
AC_ARG_WITH(wayland, AC_ARG_WITH(wayland,
[ --with-wayland Include support for the Wayland protocol.], [ --with-wayland Include support for the Wayland protocol.],
[with_wayland=$withval], [with_wayland=$withval],
AS_IF([test "x$features" = xtiny], AS_IF([test "x$features" = xtiny],
[with_wayland=no [with_wayland=no
AC_MSG_RESULT([cannot use wayland with tiny features])], AC_MSG_RESULT([cannot use wayland with tiny features])],
[with_wayland=yes [with_wayland=yes

View File

@ -719,6 +719,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 */
/**/
1642,
/**/ /**/
1641, 1641,
/**/ /**/