Karsten Hopp 0125f4
To: vim_dev@googlegroups.com
Karsten Hopp 0125f4
Subject: Patch 7.3.669
Karsten Hopp 0125f4
Fcc: outbox
Karsten Hopp 0125f4
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 0125f4
Mime-Version: 1.0
Karsten Hopp 0125f4
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 0125f4
Content-Transfer-Encoding: 8bit
Karsten Hopp 0125f4
------------
Karsten Hopp 0125f4
Karsten Hopp 0125f4
Patch 7.3.669
Karsten Hopp 0125f4
Problem:    When building with Cygwin loading Python dynamically fails.
Karsten Hopp 0125f4
Solution:   Use DLLLIBRARY instead of INSTSONAME. (Ken Takata)
Karsten Hopp 0125f4
Files:	    src/configure.in, src/auto/configure
Karsten Hopp 0125f4
Karsten Hopp 0125f4
Karsten Hopp 0125f4
*** ../vim-7.3.668/src/configure.in	2012-08-15 14:04:50.000000000 +0200
Karsten Hopp 0125f4
--- src/configure.in	2012-09-21 12:52:32.000000000 +0200
Karsten Hopp 0125f4
***************
Karsten Hopp 0125f4
*** 889,894 ****
Karsten Hopp 0125f4
--- 889,895 ----
Karsten Hopp 0125f4
  	@echo "python_LIBS='$(LIBS)'"
Karsten Hopp 0125f4
  	@echo "python_SYSLIBS='$(SYSLIBS)'"
Karsten Hopp 0125f4
  	@echo "python_LINKFORSHARED='$(LINKFORSHARED)'"
Karsten Hopp 0125f4
+ 	@echo "python_DLLLIBRARY='$(DLLLIBRARY)'"
Karsten Hopp 0125f4
  	@echo "python_INSTSONAME='$(INSTSONAME)'"
Karsten Hopp 0125f4
  eof
Karsten Hopp 0125f4
  	    dnl -- delete the lines from make about Entering/Leaving directory
Karsten Hopp 0125f4
***************
Karsten Hopp 0125f4
*** 909,914 ****
Karsten Hopp 0125f4
--- 910,918 ----
Karsten Hopp 0125f4
  	    fi
Karsten Hopp 0125f4
  	])
Karsten Hopp 0125f4
  
Karsten Hopp 0125f4
+ 	if test "X$python_DLLLIBRARY" != "X"; then
Karsten Hopp 0125f4
+ 	  python_INSTSONAME="$python_DLLLIBRARY"
Karsten Hopp 0125f4
+ 	fi
Karsten Hopp 0125f4
  	PYTHON_LIBS="${vi_cv_path_python_plibs}"
Karsten Hopp 0125f4
  	if test "${vi_cv_path_python_pfx}" = "${vi_cv_path_python_epfx}"; then
Karsten Hopp 0125f4
  	  PYTHON_CFLAGS="-I${vi_cv_path_python_pfx}/include/python${vi_cv_var_python_version} -DPYTHON_HOME=\\\"${vi_cv_path_python_pfx}\\\""
Karsten Hopp 0125f4
***************
Karsten Hopp 0125f4
*** 1082,1087 ****
Karsten Hopp 0125f4
--- 1086,1092 ----
Karsten Hopp 0125f4
  	@echo "python3_BASEMODLIBS='$(BASEMODLIBS)'"
Karsten Hopp 0125f4
  	@echo "python3_LIBS='$(LIBS)'"
Karsten Hopp 0125f4
  	@echo "python3_SYSLIBS='$(SYSLIBS)'"
Karsten Hopp 0125f4
+ 	@echo "python3_DLLLIBRARY='$(DLLLIBRARY)'"
Karsten Hopp 0125f4
  	@echo "python3_INSTSONAME='$(INSTSONAME)'"
Karsten Hopp 0125f4
  eof
Karsten Hopp 0125f4
            dnl -- delete the lines from make about Entering/Leaving directory
Karsten Hopp 0125f4
***************
Karsten Hopp 0125f4
*** 1094,1099 ****
Karsten Hopp 0125f4
--- 1099,1107 ----
Karsten Hopp 0125f4
            vi_cv_path_python3_plibs=`echo $vi_cv_path_python3_plibs | sed s/-lffi//`
Karsten Hopp 0125f4
        ])
Karsten Hopp 0125f4
  
Karsten Hopp 0125f4
+       if test "X$python3_DLLLIBRARY" != "X"; then
Karsten Hopp 0125f4
+ 	python3_INSTSONAME="$python3_DLLLIBRARY"
Karsten Hopp 0125f4
+       fi
Karsten Hopp 0125f4
        PYTHON3_LIBS="${vi_cv_path_python3_plibs}"
Karsten Hopp 0125f4
        if test "${vi_cv_path_python3_pfx}" = "${vi_cv_path_python3_epfx}"; then
Karsten Hopp 0125f4
          PYTHON3_CFLAGS="-I${vi_cv_path_python3_pfx}/include/python${vi_cv_var_python3_version}${vi_cv_var_python3_abiflags} -DPYTHON3_HOME=L\\\"${vi_cv_path_python3_pfx}\\\""
Karsten Hopp 0125f4
*** ../vim-7.3.668/src/auto/configure	2012-08-15 14:04:50.000000000 +0200
Karsten Hopp 0125f4
--- src/auto/configure	2012-09-21 13:06:09.000000000 +0200
Karsten Hopp 0125f4
***************
Karsten Hopp 0125f4
*** 5330,5335 ****
Karsten Hopp 0125f4
--- 5330,5336 ----
Karsten Hopp 0125f4
  	@echo "python_LIBS='$(LIBS)'"
Karsten Hopp 0125f4
  	@echo "python_SYSLIBS='$(SYSLIBS)'"
Karsten Hopp 0125f4
  	@echo "python_LINKFORSHARED='$(LINKFORSHARED)'"
Karsten Hopp 0125f4
+ 	@echo "python_DLLLIBRARY='$(DLLLIBRARY)'"
Karsten Hopp 0125f4
  	@echo "python_INSTSONAME='$(INSTSONAME)'"
Karsten Hopp 0125f4
  eof
Karsten Hopp 0125f4
  	    	    eval "`cd ${PYTHON_CONFDIR} && make -f "${tmp_mkf}" __ | sed '/ directory /d'`"
Karsten Hopp 0125f4
***************
Karsten Hopp 0125f4
*** 5350,5355 ****
Karsten Hopp 0125f4
--- 5351,5359 ----
Karsten Hopp 0125f4
  fi
Karsten Hopp 0125f4
  
Karsten Hopp 0125f4
  
Karsten Hopp 0125f4
+ 	if test "X$python_DLLLIBRARY" != "X"; then
Karsten Hopp 0125f4
+ 	  python_INSTSONAME="$python_DLLLIBRARY"
Karsten Hopp 0125f4
+ 	fi
Karsten Hopp 0125f4
  	PYTHON_LIBS="${vi_cv_path_python_plibs}"
Karsten Hopp 0125f4
  	if test "${vi_cv_path_python_pfx}" = "${vi_cv_path_python_epfx}"; then
Karsten Hopp 0125f4
  	  PYTHON_CFLAGS="-I${vi_cv_path_python_pfx}/include/python${vi_cv_var_python_version} -DPYTHON_HOME=\\\"${vi_cv_path_python_pfx}\\\""
Karsten Hopp 0125f4
***************
Karsten Hopp 0125f4
*** 5633,5638 ****
Karsten Hopp 0125f4
--- 5637,5643 ----
Karsten Hopp 0125f4
  	@echo "python3_BASEMODLIBS='$(BASEMODLIBS)'"
Karsten Hopp 0125f4
  	@echo "python3_LIBS='$(LIBS)'"
Karsten Hopp 0125f4
  	@echo "python3_SYSLIBS='$(SYSLIBS)'"
Karsten Hopp 0125f4
+ 	@echo "python3_DLLLIBRARY='$(DLLLIBRARY)'"
Karsten Hopp 0125f4
  	@echo "python3_INSTSONAME='$(INSTSONAME)'"
Karsten Hopp 0125f4
  eof
Karsten Hopp 0125f4
                      eval "`cd ${PYTHON3_CONFDIR} && make -f "${tmp_mkf}" __ | sed '/ directory /d'`"
Karsten Hopp 0125f4
***************
Karsten Hopp 0125f4
*** 5645,5650 ****
Karsten Hopp 0125f4
--- 5650,5658 ----
Karsten Hopp 0125f4
  fi
Karsten Hopp 0125f4
  
Karsten Hopp 0125f4
  
Karsten Hopp 0125f4
+       if test "X$python3_DLLLIBRARY" != "X"; then
Karsten Hopp 0125f4
+ 	python3_INSTSONAME="$python3_DLLLIBRARY"
Karsten Hopp 0125f4
+       fi
Karsten Hopp 0125f4
        PYTHON3_LIBS="${vi_cv_path_python3_plibs}"
Karsten Hopp 0125f4
        if test "${vi_cv_path_python3_pfx}" = "${vi_cv_path_python3_epfx}"; then
Karsten Hopp 0125f4
          PYTHON3_CFLAGS="-I${vi_cv_path_python3_pfx}/include/python${vi_cv_var_python3_version}${vi_cv_var_python3_abiflags} -DPYTHON3_HOME=L\\\"${vi_cv_path_python3_pfx}\\\""
Karsten Hopp 0125f4
*** ../vim-7.3.668/src/version.c	2012-09-21 12:50:44.000000000 +0200
Karsten Hopp 0125f4
--- src/version.c	2012-09-21 12:54:42.000000000 +0200
Karsten Hopp 0125f4
***************
Karsten Hopp 0125f4
*** 721,722 ****
Karsten Hopp 0125f4
--- 721,724 ----
Karsten Hopp 0125f4
  {   /* Add new patch number below this line */
Karsten Hopp 0125f4
+ /**/
Karsten Hopp 0125f4
+     669,
Karsten Hopp 0125f4
  /**/
Karsten Hopp 0125f4
Karsten Hopp 0125f4
-- 
Karsten Hopp 0125f4
TALL KNIGHT: We are now no longer the Knights Who Say Ni!
Karsten Hopp 0125f4
ONE KNIGHT:  Ni!
Karsten Hopp 0125f4
OTHERS:      Sh!
Karsten Hopp 0125f4
ONE KNIGHT:  (whispers) Sorry.
Karsten Hopp 0125f4
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
Karsten Hopp 0125f4
Karsten Hopp 0125f4
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 0125f4
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 0125f4
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 0125f4
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///