Karsten Hopp c04c8e
To: vim_dev@googlegroups.com
Karsten Hopp c04c8e
Subject: Patch 7.4.677
Karsten Hopp c04c8e
Fcc: outbox
Karsten Hopp c04c8e
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp c04c8e
Mime-Version: 1.0
Karsten Hopp c04c8e
Content-Type: text/plain; charset=UTF-8
Karsten Hopp c04c8e
Content-Transfer-Encoding: 8bit
Karsten Hopp c04c8e
------------
Karsten Hopp c04c8e
Karsten Hopp c04c8e
Patch 7.4.677 (after 7.4.676)
Karsten Hopp c04c8e
Problem:    Configure fails when specifying a python-config-dir. (Lcd)
Karsten Hopp c04c8e
Solution:   Check if PYTHONFRAMEWORKPREFIX is set.
Karsten Hopp c04c8e
Files:	    src/configure.in, src/auto/configure
Karsten Hopp c04c8e
Karsten Hopp c04c8e
Karsten Hopp c04c8e
*** ../vim-7.4.676/src/configure.in	2015-03-24 12:21:27.957381493 +0100
Karsten Hopp c04c8e
--- src/configure.in	2015-03-24 15:09:49.628883283 +0100
Karsten Hopp c04c8e
***************
Karsten Hopp c04c8e
*** 1148,1154 ****
Karsten Hopp c04c8e
  	      dnl -- Check if the path contained in python_LINKFORSHARED is
Karsten Hopp c04c8e
  	      dnl    usable for vim build. If not, make and try other
Karsten Hopp c04c8e
  	      dnl    candidates.
Karsten Hopp c04c8e
! 	      if test -n "${python_LINKFORSHARED}"; then
Karsten Hopp c04c8e
  	        python_link_symbol=`echo ${python_LINKFORSHARED} | sed 's/\([[^ \t]][[^ \t]]*[[ \t]][[ \t]]*[[^ \t]][[^ \t]]*\)[[ \t]].*/\1/'`
Karsten Hopp c04c8e
  		python_link_path=`echo ${python_LINKFORSHARED} |   sed 's/\([[^ \t]][[^ \t]]*[[ \t]][[ \t]]*[[^ \t]][[^ \t]]*\)[[ \t]][[ \t]]*\(.*\)/\2/'`
Karsten Hopp c04c8e
  	        if test -n "${python_link_path}" && ! test -x "${python_link_path}"; then
Karsten Hopp c04c8e
--- 1148,1154 ----
Karsten Hopp c04c8e
  	      dnl -- Check if the path contained in python_LINKFORSHARED is
Karsten Hopp c04c8e
  	      dnl    usable for vim build. If not, make and try other
Karsten Hopp c04c8e
  	      dnl    candidates.
Karsten Hopp c04c8e
! 	      if test -n "${python_LINKFORSHARED}" && test -n "${python_PYTHONFRAMEWORKPREFIX}"; then
Karsten Hopp c04c8e
  	        python_link_symbol=`echo ${python_LINKFORSHARED} | sed 's/\([[^ \t]][[^ \t]]*[[ \t]][[ \t]]*[[^ \t]][[^ \t]]*\)[[ \t]].*/\1/'`
Karsten Hopp c04c8e
  		python_link_path=`echo ${python_LINKFORSHARED} |   sed 's/\([[^ \t]][[^ \t]]*[[ \t]][[ \t]]*[[^ \t]][[^ \t]]*\)[[ \t]][[ \t]]*\(.*\)/\2/'`
Karsten Hopp c04c8e
  	        if test -n "${python_link_path}" && ! test -x "${python_link_path}"; then
Karsten Hopp c04c8e
*** ../vim-7.4.676/src/auto/configure	2015-03-24 12:21:27.965381491 +0100
Karsten Hopp c04c8e
--- src/auto/configure	2015-03-24 15:09:54.956801317 +0100
Karsten Hopp c04c8e
***************
Karsten Hopp c04c8e
*** 5906,5912 ****
Karsten Hopp c04c8e
  	      else
Karsten Hopp c04c8e
  		  vi_cv_path_python_plibs="-L${PYTHON_CONFDIR} -lpython${vi_cv_var_python_version}"
Karsten Hopp c04c8e
  	      fi
Karsten Hopp c04c8e
! 	      	      	      	      if test -n "${python_LINKFORSHARED}"; then
Karsten Hopp c04c8e
  	        python_link_symbol=`echo ${python_LINKFORSHARED} | sed 's/\([^ \t][^ \t]*[ \t][ \t]*[^ \t][^ \t]*\)[ \t].*/\1/'`
Karsten Hopp c04c8e
  		python_link_path=`echo ${python_LINKFORSHARED} |   sed 's/\([^ \t][^ \t]*[ \t][ \t]*[^ \t][^ \t]*\)[ \t][ \t]*\(.*\)/\2/'`
Karsten Hopp c04c8e
  	        if test -n "${python_link_path}" && ! test -x "${python_link_path}"; then
Karsten Hopp c04c8e
--- 5906,5912 ----
Karsten Hopp c04c8e
  	      else
Karsten Hopp c04c8e
  		  vi_cv_path_python_plibs="-L${PYTHON_CONFDIR} -lpython${vi_cv_var_python_version}"
Karsten Hopp c04c8e
  	      fi
Karsten Hopp c04c8e
! 	      	      	      	      if test -n "${python_LINKFORSHARED}" && test -n "${python_PYTHONFRAMEWORKPREFIX}"; then
Karsten Hopp c04c8e
  	        python_link_symbol=`echo ${python_LINKFORSHARED} | sed 's/\([^ \t][^ \t]*[ \t][ \t]*[^ \t][^ \t]*\)[ \t].*/\1/'`
Karsten Hopp c04c8e
  		python_link_path=`echo ${python_LINKFORSHARED} |   sed 's/\([^ \t][^ \t]*[ \t][ \t]*[^ \t][^ \t]*\)[ \t][ \t]*\(.*\)/\2/'`
Karsten Hopp c04c8e
  	        if test -n "${python_link_path}" && ! test -x "${python_link_path}"; then
Karsten Hopp c04c8e
*** ../vim-7.4.676/src/version.c	2015-03-24 12:21:27.969381475 +0100
Karsten Hopp c04c8e
--- src/version.c	2015-03-24 15:13:21.189909403 +0100
Karsten Hopp c04c8e
***************
Karsten Hopp c04c8e
*** 743,744 ****
Karsten Hopp c04c8e
--- 743,746 ----
Karsten Hopp c04c8e
  {   /* Add new patch number below this line */
Karsten Hopp c04c8e
+ /**/
Karsten Hopp c04c8e
+     677,
Karsten Hopp c04c8e
  /**/
Karsten Hopp c04c8e
Karsten Hopp c04c8e
-- 
Karsten Hopp c04c8e
Two cows are standing together in a field.  One asks the other:
Karsten Hopp c04c8e
"So what do you think about this Mad Cow Disease?"
Karsten Hopp c04c8e
The other replies: "That doesn't concern me. I'm a helicopter."
Karsten Hopp c04c8e
Karsten Hopp c04c8e
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp c04c8e
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp c04c8e
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp c04c8e
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///