0
0
mirror of https://github.com/vim/vim.git synced 2025-10-22 08:34:29 -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
3 changed files with 5 additions and 3 deletions

View File

@@ -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