On 09/02/11 17:43, Bram Moolenaar wrote:
Patch 7.3.117 Problem: On some systems --as-needed does not work, because the "tinfo" library is included indirectly from "ncurses". (Charles Campbell) Solution: In configure prefer using "tinfo" instead of "ncurses". Files: src/configure.in, src/auto/configure *** ../vim-7.3.116/src/configure.in 2010-11-16 19:25:56.000000000 +0100 --- src/configure.in 2011-02-09 17:28:16.000000000 +0100 *************** *** 2618,2630 **** AC_MSG_RESULT([empty: automatic terminal library selection]) dnl On HP-UX 10.10 termcap or termlib should be used instead of dnl curses, because curses is much slower. ! dnl Newer versions of ncurses are preferred over anything. dnl Older versions of ncurses have bugs, get a new one! dnl Digital Unix (OSF1) should use curses (Ronald Schild). dnl On SCO Openserver should prefer termlib (Roger Cornelius). case "`uname -s 2>/dev/null`" in ! OSF1|SCO_SV) tlibs="ncurses curses termlib termcap";; ! *) tlibs="ncurses termlib termcap curses";; esac for libname in $tlibs; do AC_CHECK_LIB(${libname}, tgetent,,) --- 2618,2631 ---- AC_MSG_RESULT([empty: automatic terminal library selection]) dnl On HP-UX 10.10 termcap or termlib should be used instead of dnl curses, because curses is much slower. ! dnl Newer versions of ncurses are preferred over anything, except ! dnl when tinfo has been split off, it conains all we need.
------------------------------------------------^ should be: contains
dnl Older versions of ncurses have bugs, get a new one! dnl Digital Unix (OSF1) should use curses (Ronald Schild). dnl On SCO Openserver should prefer termlib (Roger Cornelius). case "`uname -s 2>/dev/null`" in ! OSF1|SCO_SV) tlibs="tinfo ncurses curses termlib termcap";; ! *) tlibs="tinfo ncurses termlib termcap curses";; esac for libname in $tlibs; do AC_CHECK_LIB(${libname}, tgetent,,) *** ../vim-7.3.116/src/auto/configure 2010-11-16 19:25:56.000000000 +0100 --- src/auto/configure 2011-02-09 17:29:13.000000000 +0100
[...] Best regards, Tony. -- Too much of everything is just enough. -- Bob Wier -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php