81c43eb
To: vim-dev@vim.org
81c43eb
Subject: Patch 7.2.315
81c43eb
Fcc: outbox
81c43eb
From: Bram Moolenaar <Bram@moolenaar.net>
81c43eb
Mime-Version: 1.0
81c43eb
Content-Type: text/plain; charset=UTF-8
81c43eb
Content-Transfer-Encoding: 8bit
81c43eb
------------
81c43eb
81c43eb
Patch 7.2.315
81c43eb
Problem:    Python libs can't be found on 64 bit system.
81c43eb
Solution:   Add lib64 to the list of directories. (Michael Henry)
81c43eb
Files:	    src/auto/configure, src/configure.in
81c43eb
81c43eb
81c43eb
*** ../vim-7.2.314/src/auto/configure	2009-11-17 17:13:03.000000000 +0100
81c43eb
--- src/auto/configure	2009-12-02 17:21:20.000000000 +0100
81c43eb
***************
81c43eb
*** 5126,5132 ****
81c43eb
  
81c43eb
  	vi_cv_path_python_conf=
81c43eb
  	for path in "${vi_cv_path_python_pfx}" "${vi_cv_path_python_epfx}"; do
81c43eb
! 	  for subdir in lib share; do
81c43eb
  	    d="${path}/${subdir}/python${vi_cv_var_python_version}/config"
81c43eb
  	    if test -d "$d" && test -f "$d/config.c"; then
81c43eb
  	      vi_cv_path_python_conf="$d"
81c43eb
--- 5126,5132 ----
81c43eb
  
81c43eb
  	vi_cv_path_python_conf=
81c43eb
  	for path in "${vi_cv_path_python_pfx}" "${vi_cv_path_python_epfx}"; do
81c43eb
! 	  for subdir in lib64 lib share; do
81c43eb
  	    d="${path}/${subdir}/python${vi_cv_var_python_version}/config"
81c43eb
  	    if test -d "$d" && test -f "$d/config.c"; then
81c43eb
  	      vi_cv_path_python_conf="$d"
81c43eb
***************
81c43eb
*** 13718,13725 ****
81c43eb
  $as_echo "pty mode: $vim_cv_tty_mode, group: $vim_cv_tty_group" >&6; }
81c43eb
        else
81c43eb
  	vim_cv_tty_group=world
81c43eb
! 	{ $as_echo "$as_me:$LINENO: result: ptys are world accessable" >&5
81c43eb
! $as_echo "ptys are world accessable" >&6; }
81c43eb
        fi
81c43eb
  
81c43eb
  else
81c43eb
--- 13718,13725 ----
81c43eb
  $as_echo "pty mode: $vim_cv_tty_mode, group: $vim_cv_tty_group" >&6; }
81c43eb
        else
81c43eb
  	vim_cv_tty_group=world
81c43eb
! 	{ $as_echo "$as_me:$LINENO: result: ptys are world accessible" >&5
81c43eb
! $as_echo "ptys are world accessible" >&6; }
81c43eb
        fi
81c43eb
  
81c43eb
  else
81c43eb
***************
81c43eb
*** 13730,13737 ****
81c43eb
  ( exit $ac_status )
81c43eb
  
81c43eb
        vim_cv_tty_group=world
81c43eb
!       { $as_echo "$as_me:$LINENO: result: can't determine - assume ptys are world accessable" >&5
81c43eb
! $as_echo "can't determine - assume ptys are world accessable" >&6; }
81c43eb
  
81c43eb
  fi
81c43eb
  rm -rf conftest.dSYM
81c43eb
--- 13730,13737 ----
81c43eb
  ( exit $ac_status )
81c43eb
  
81c43eb
        vim_cv_tty_group=world
81c43eb
!       { $as_echo "$as_me:$LINENO: result: can't determine - assume ptys are world accessible" >&5
81c43eb
! $as_echo "can't determine - assume ptys are world accessible" >&6; }
81c43eb
  
81c43eb
  fi
81c43eb
  rm -rf conftest.dSYM
81c43eb
*** ../vim-7.2.314/src/configure.in	2009-11-17 17:13:03.000000000 +0100
81c43eb
--- src/configure.in	2009-12-02 17:21:10.000000000 +0100
81c43eb
***************
81c43eb
*** 686,692 ****
81c43eb
        [
81c43eb
  	vi_cv_path_python_conf=
81c43eb
  	for path in "${vi_cv_path_python_pfx}" "${vi_cv_path_python_epfx}"; do
81c43eb
! 	  for subdir in lib share; do
81c43eb
  	    d="${path}/${subdir}/python${vi_cv_var_python_version}/config"
81c43eb
  	    if test -d "$d" && test -f "$d/config.c"; then
81c43eb
  	      vi_cv_path_python_conf="$d"
81c43eb
--- 686,692 ----
81c43eb
        [
81c43eb
  	vi_cv_path_python_conf=
81c43eb
  	for path in "${vi_cv_path_python_pfx}" "${vi_cv_path_python_epfx}"; do
81c43eb
! 	  for subdir in lib64 lib share; do
81c43eb
  	    d="${path}/${subdir}/python${vi_cv_var_python_version}/config"
81c43eb
  	    if test -d "$d" && test -f "$d/config.c"; then
81c43eb
  	      vi_cv_path_python_conf="$d"
81c43eb
***************
81c43eb
*** 2557,2567 ****
81c43eb
  	AC_MSG_RESULT([pty mode: $vim_cv_tty_mode, group: $vim_cv_tty_group])
81c43eb
        else
81c43eb
  	vim_cv_tty_group=world
81c43eb
! 	AC_MSG_RESULT([ptys are world accessable])
81c43eb
        fi
81c43eb
      ],[
81c43eb
        vim_cv_tty_group=world
81c43eb
!       AC_MSG_RESULT([can't determine - assume ptys are world accessable])
81c43eb
      ],[
81c43eb
        AC_MSG_ERROR(cross-compiling: please set 'vim_cv_tty_group' and 'vim_cv_tty_mode')
81c43eb
      ])
81c43eb
--- 2557,2567 ----
81c43eb
  	AC_MSG_RESULT([pty mode: $vim_cv_tty_mode, group: $vim_cv_tty_group])
81c43eb
        else
81c43eb
  	vim_cv_tty_group=world
81c43eb
! 	AC_MSG_RESULT([ptys are world accessible])
81c43eb
        fi
81c43eb
      ],[
81c43eb
        vim_cv_tty_group=world
81c43eb
!       AC_MSG_RESULT([can't determine - assume ptys are world accessible])
81c43eb
      ],[
81c43eb
        AC_MSG_ERROR(cross-compiling: please set 'vim_cv_tty_group' and 'vim_cv_tty_mode')
81c43eb
      ])
81c43eb
*** ../vim-7.2.314/src/version.c	2009-12-02 17:47:46.000000000 +0100
81c43eb
--- src/version.c	2009-12-02 17:57:39.000000000 +0100
81c43eb
***************
81c43eb
*** 683,684 ****
81c43eb
--- 683,686 ----
81c43eb
  {   /* Add new patch number below this line */
81c43eb
+ /**/
81c43eb
+     315,
81c43eb
  /**/
81c43eb
81c43eb
-- 
81c43eb
hundred-and-one symptoms of being an internet addict:
81c43eb
10. And even your night dreams are in HTML.
81c43eb
81c43eb
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
81c43eb
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
81c43eb
\\\        download, build and distribute -- http://www.A-A-P.org        ///
81c43eb
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///