Karsten Hopp ce2993
To: vim_dev@googlegroups.com
Karsten Hopp ce2993
Subject: Patch 7.3.1193
Karsten Hopp ce2993
Fcc: outbox
Karsten Hopp ce2993
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp ce2993
Mime-Version: 1.0
Karsten Hopp ce2993
Content-Type: text/plain; charset=UTF-8
Karsten Hopp ce2993
Content-Transfer-Encoding: 8bit
Karsten Hopp ce2993
------------
Karsten Hopp ce2993
Karsten Hopp ce2993
Patch 7.3.1193
Karsten Hopp ce2993
Problem:    fail_if_missing not used for Python 3.
Karsten Hopp ce2993
Solution:   Give an error when Python 3 can't be configured. (Andrei Olsen)
Karsten Hopp ce2993
Files:	    src/configure.in, src/auto/configure
Karsten Hopp ce2993
Karsten Hopp ce2993
Karsten Hopp ce2993
*** ../vim-7.3.1192/src/configure.in	2013-06-11 20:53:24.000000000 +0200
Karsten Hopp ce2993
--- src/configure.in	2013-06-14 21:19:40.000000000 +0200
Karsten Hopp ce2993
***************
Karsten Hopp ce2993
*** 1229,1234 ****
Karsten Hopp ce2993
--- 1229,1237 ----
Karsten Hopp ce2993
        AC_MSG_RESULT(too old)
Karsten Hopp ce2993
      fi
Karsten Hopp ce2993
    fi
Karsten Hopp ce2993
+   if test "$fail_if_missing" = "yes" -a "$python3_ok" != "yes"; then
Karsten Hopp ce2993
+     AC_MSG_ERROR([could not configure python3])
Karsten Hopp ce2993
+   fi
Karsten Hopp ce2993
  fi
Karsten Hopp ce2993
  
Karsten Hopp ce2993
  AC_SUBST(PYTHON3_CONFDIR)
Karsten Hopp ce2993
*** ../vim-7.3.1192/src/auto/configure	2013-06-11 20:53:24.000000000 +0200
Karsten Hopp ce2993
--- src/auto/configure	2013-06-14 21:19:43.000000000 +0200
Karsten Hopp ce2993
***************
Karsten Hopp ce2993
*** 5826,5831 ****
Karsten Hopp ce2993
--- 5826,5834 ----
Karsten Hopp ce2993
  $as_echo "too old" >&6; }
Karsten Hopp ce2993
      fi
Karsten Hopp ce2993
    fi
Karsten Hopp ce2993
+   if test "$fail_if_missing" = "yes" -a "$python3_ok" != "yes"; then
Karsten Hopp ce2993
+     as_fn_error "could not configure python3" "$LINENO" 5
Karsten Hopp ce2993
+   fi
Karsten Hopp ce2993
  fi
Karsten Hopp ce2993
  
Karsten Hopp ce2993
  
Karsten Hopp ce2993
*** ../vim-7.3.1192/src/version.c	2013-06-14 21:15:21.000000000 +0200
Karsten Hopp ce2993
--- src/version.c	2013-06-14 21:20:51.000000000 +0200
Karsten Hopp ce2993
***************
Karsten Hopp ce2993
*** 730,731 ****
Karsten Hopp ce2993
--- 730,733 ----
Karsten Hopp ce2993
  {   /* Add new patch number below this line */
Karsten Hopp ce2993
+ /**/
Karsten Hopp ce2993
+     1193,
Karsten Hopp ce2993
  /**/
Karsten Hopp ce2993
Karsten Hopp ce2993
-- 
Karsten Hopp ce2993
$ echo pizza > /dev/oven
Karsten Hopp ce2993
Karsten Hopp ce2993
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp ce2993
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp ce2993
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp ce2993
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///