]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.1.1642: configure: wrong C99 feature test v9.1.1642
authorDamien Lejay <damien@lejay.be>
Sun, 17 Aug 2025 19:05:40 +0000 (21:05 +0200)
committerChristian Brabandt <cb@256bit.org>
Sun, 17 Aug 2025 19:06:59 +0000 (21:06 +0200)
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>
src/auto/configure
src/configure.ac
src/version.c

index 5f755924709ce8ae1eb798faf540eb499caed43b..d3d72cd1657bb7c9432060c9e10761c25d73a0e1 100755 (executable)
@@ -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
index 9016f969933d0f897a25646a139eb7a2cc6c07cd..4544f46f58000b470d4358b8d438f729c3b7be7c 100644 (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
index 610114d6d70135df0590a9249ce4ad24bc37a1fc..a4d934706d95a6adadd5f88f4bfa0b526a520825 100644 (file)
@@ -719,6 +719,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1642,
 /**/
     1641,
 /**/