changeset 4895:8b46c37c4b84 v7.3.1193

updated for version 7.3.1193 Problem: fail_if_missing not used for Python 3. Solution: Give an error when Python 3 can't be configured. (Andrei Olsen)
author Bram Moolenaar <bram@vim.org>
date Fri, 14 Jun 2013 21:22:39 +0200
parents 7e2fea45e480
children 3f4f0bd1011c
files src/auto/configure src/configure.in src/version.c
diffstat 3 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/auto/configure
+++ b/src/auto/configure
@@ -5826,6 +5826,9 @@ rm -f core conftest.err conftest.$ac_obj
 $as_echo "too old" >&6; }
     fi
   fi
+  if test "$fail_if_missing" = "yes" -a "$python3_ok" != "yes"; then
+    as_fn_error "could not configure python3" "$LINENO" 5
+  fi
 fi
 
 
--- a/src/configure.in
+++ b/src/configure.in
@@ -1229,6 +1229,9 @@ eof
       AC_MSG_RESULT(too old)
     fi
   fi
+  if test "$fail_if_missing" = "yes" -a "$python3_ok" != "yes"; then
+    AC_MSG_ERROR([could not configure python3])
+  fi
 fi
 
 AC_SUBST(PYTHON3_CONFDIR)
--- a/src/version.c
+++ b/src/version.c
@@ -729,6 +729,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1193,
+/**/
     1192,
 /**/
     1191,