changeset 28049:6312a35b254a v8.2.4549

patch 8.2.4549: cannot build with Motif and editres Commit: https://github.com/vim/vim/commit/e2adcf397421d47440d135a97765e1dbe7f824fe Author: Bram Moolenaar <Bram@vim.org> Date: Sat Mar 12 11:57:25 2022 +0000 patch 8.2.4549: cannot build with Motif and editres Problem: Cannot build with Motif and editres. (Tony Mechelynck) Solution: Fix configure mistake.
author Bram Moolenaar <Bram@vim.org>
date Sat, 12 Mar 2022 13:00:04 +0100
parents bf4df32ceb1e
children 560a9d7bc55c
files src/auto/configure src/configure.ac src/version.c
diffstat 3 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/auto/configure
+++ b/src/auto/configure
@@ -10254,7 +10254,7 @@ if test -z "$SKIP_MOTIF"; then
 
 fi
 
-if -z "$SKIP_MOTIF"; then
+if test -z "$SKIP_MOTIF"; then
       if test -n "$GUI_INC_LOC"; then
     GUI_INC_LOC=-I"`echo $GUI_INC_LOC|sed 's%-I%%'`"
   fi
--- a/src/configure.ac
+++ b/src/configure.ac
@@ -3004,7 +3004,7 @@ if test -z "$SKIP_MOTIF"; then
   AC_SUBST(MOTIF_LIBNAME)
 fi
 
-if -z "$SKIP_MOTIF"; then
+if test -z "$SKIP_MOTIF"; then
   dnl Prepend -I and -L to $GUI_INC_LOC and $GUI_LIB_LOC if not empty
   dnl Avoid adding it when it twice
   if test -n "$GUI_INC_LOC"; then
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    4549,
+/**/
     4548,
 /**/
     4547,