Karsten Hopp 85ff02
To: vim_dev@googlegroups.com
Karsten Hopp 85ff02
Subject: Patch 7.3.117
Karsten Hopp 85ff02
Fcc: outbox
Karsten Hopp 85ff02
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 85ff02
Mime-Version: 1.0
Karsten Hopp 85ff02
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 85ff02
Content-Transfer-Encoding: 8bit
Karsten Hopp 85ff02
------------
Karsten Hopp 85ff02
Karsten Hopp 85ff02
Patch 7.3.117
Karsten Hopp 85ff02
Problem:    On some systems --as-needed does not work, because the "tinfo"
Karsten Hopp 85ff02
	    library is included indirectly from "ncurses". (Charles Campbell)
Karsten Hopp 85ff02
Solution:   In configure prefer using "tinfo" instead of "ncurses".
Karsten Hopp 85ff02
Files:	    src/configure.in, src/auto/configure
Karsten Hopp 85ff02
Karsten Hopp 85ff02
Karsten Hopp 85ff02
*** ../vim-7.3.116/src/configure.in	2010-11-16 19:25:56.000000000 +0100
Karsten Hopp 85ff02
--- src/configure.in	2011-02-09 17:28:16.000000000 +0100
Karsten Hopp 85ff02
***************
Karsten Hopp 85ff02
*** 2618,2630 ****
Karsten Hopp 85ff02
    AC_MSG_RESULT([empty: automatic terminal library selection])
Karsten Hopp 85ff02
    dnl  On HP-UX 10.10 termcap or termlib should be used instead of
Karsten Hopp 85ff02
    dnl  curses, because curses is much slower.
Karsten Hopp 85ff02
!   dnl  Newer versions of ncurses are preferred over anything.
Karsten Hopp 85ff02
    dnl  Older versions of ncurses have bugs, get a new one!
Karsten Hopp 85ff02
    dnl  Digital Unix (OSF1) should use curses (Ronald Schild).
Karsten Hopp 85ff02
    dnl  On SCO Openserver should prefer termlib (Roger Cornelius).
Karsten Hopp 85ff02
    case "`uname -s 2>/dev/null`" in
Karsten Hopp 85ff02
! 	OSF1|SCO_SV)	tlibs="ncurses curses termlib termcap";;
Karsten Hopp 85ff02
! 	*)	tlibs="ncurses termlib termcap curses";;
Karsten Hopp 85ff02
    esac
Karsten Hopp 85ff02
    for libname in $tlibs; do
Karsten Hopp 85ff02
      AC_CHECK_LIB(${libname}, tgetent,,)
Karsten Hopp 85ff02
--- 2618,2631 ----
Karsten Hopp 85ff02
    AC_MSG_RESULT([empty: automatic terminal library selection])
Karsten Hopp 85ff02
    dnl  On HP-UX 10.10 termcap or termlib should be used instead of
Karsten Hopp 85ff02
    dnl  curses, because curses is much slower.
Karsten Hopp 85ff02
!   dnl  Newer versions of ncurses are preferred over anything, except
Karsten Hopp 85ff02
!   dnl  when tinfo has been split off, it conains all we need.
Karsten Hopp 85ff02
    dnl  Older versions of ncurses have bugs, get a new one!
Karsten Hopp 85ff02
    dnl  Digital Unix (OSF1) should use curses (Ronald Schild).
Karsten Hopp 85ff02
    dnl  On SCO Openserver should prefer termlib (Roger Cornelius).
Karsten Hopp 85ff02
    case "`uname -s 2>/dev/null`" in
Karsten Hopp 85ff02
! 	OSF1|SCO_SV)	tlibs="tinfo ncurses curses termlib termcap";;
Karsten Hopp 85ff02
! 	*)	tlibs="tinfo ncurses termlib termcap curses";;
Karsten Hopp 85ff02
    esac
Karsten Hopp 85ff02
    for libname in $tlibs; do
Karsten Hopp 85ff02
      AC_CHECK_LIB(${libname}, tgetent,,)
Karsten Hopp 85ff02
*** ../vim-7.3.116/src/auto/configure	2010-11-16 19:25:56.000000000 +0100
Karsten Hopp 85ff02
--- src/auto/configure	2011-02-09 17:29:13.000000000 +0100
Karsten Hopp 85ff02
***************
Karsten Hopp 85ff02
*** 9886,9894 ****
Karsten Hopp 85ff02
  else
Karsten Hopp 85ff02
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: empty: automatic terminal library selection" >&5
Karsten Hopp 85ff02
  $as_echo "empty: automatic terminal library selection" >&6; }
Karsten Hopp 85ff02
!               case "`uname -s 2>/dev/null`" in
Karsten Hopp 85ff02
! 	OSF1|SCO_SV)	tlibs="ncurses curses termlib termcap";;
Karsten Hopp 85ff02
! 	*)	tlibs="ncurses termlib termcap curses";;
Karsten Hopp 85ff02
    esac
Karsten Hopp 85ff02
    for libname in $tlibs; do
Karsten Hopp 85ff02
      as_ac_Lib=`$as_echo "ac_cv_lib_${libname}''_tgetent" | $as_tr_sh`
Karsten Hopp 85ff02
--- 9886,9894 ----
Karsten Hopp 85ff02
  else
Karsten Hopp 85ff02
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: empty: automatic terminal library selection" >&5
Karsten Hopp 85ff02
  $as_echo "empty: automatic terminal library selection" >&6; }
Karsten Hopp 85ff02
!                 case "`uname -s 2>/dev/null`" in
Karsten Hopp 85ff02
! 	OSF1|SCO_SV)	tlibs="tinfo ncurses curses termlib termcap";;
Karsten Hopp 85ff02
! 	*)	tlibs="tinfo ncurses termlib termcap curses";;
Karsten Hopp 85ff02
    esac
Karsten Hopp 85ff02
    for libname in $tlibs; do
Karsten Hopp 85ff02
      as_ac_Lib=`$as_echo "ac_cv_lib_${libname}''_tgetent" | $as_tr_sh`
Karsten Hopp 85ff02
*** ../vim-7.3.116/src/version.c	2011-02-09 17:09:26.000000000 +0100
Karsten Hopp 85ff02
--- src/version.c	2011-02-09 17:41:37.000000000 +0100
Karsten Hopp 85ff02
***************
Karsten Hopp 85ff02
*** 716,717 ****
Karsten Hopp 85ff02
--- 716,719 ----
Karsten Hopp 85ff02
  {   /* Add new patch number below this line */
Karsten Hopp 85ff02
+ /**/
Karsten Hopp 85ff02
+     117,
Karsten Hopp 85ff02
  /**/
Karsten Hopp 85ff02
Karsten Hopp 85ff02
-- 
Karsten Hopp 85ff02
hundred-and-one symptoms of being an internet addict:
Karsten Hopp 85ff02
220. Your wife asks for sex and you tell her where to find you on IRC.
Karsten Hopp 85ff02
Karsten Hopp 85ff02
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 85ff02
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 85ff02
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 85ff02
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///