Karsten Hopp 23bc38
To: vim-dev@vim.org
Karsten Hopp 23bc38
Subject: Patch 7.0.123
Karsten Hopp 23bc38
Fcc: outbox
Karsten Hopp 23bc38
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 23bc38
Mime-Version: 1.0
Karsten Hopp 23bc38
Content-Type: text/plain; charset=ISO-8859-1
Karsten Hopp 23bc38
Content-Transfer-Encoding: 8bit
Karsten Hopp 23bc38
------------
Karsten Hopp 23bc38
Karsten Hopp 23bc38
Patch 7.0.123
Karsten Hopp 23bc38
Problem:    On SCO Openserver configure selects the wrong terminal library.
Karsten Hopp 23bc38
Solution:   Put terminfo before the other libraries. (Roger Cornelius)
Karsten Hopp 23bc38
	    Also fix a small problem compiling on Mac without Darwin.
Karsten Hopp 23bc38
Files:	    src/configure.in, src/auto/configure
Karsten Hopp 23bc38
Karsten Hopp 23bc38
Karsten Hopp 23bc38
*** ../vim-7.0.122/src/configure.in	Tue Sep  5 17:30:25 2006
Karsten Hopp 23bc38
--- src/configure.in	Thu Oct  5 22:01:13 2006
Karsten Hopp 23bc38
***************
Karsten Hopp 23bc38
*** 681,687 ****
Karsten Hopp 23bc38
  	AC_MSG_CHECKING([if -pthread should be used])
Karsten Hopp 23bc38
  	threadsafe_flag=
Karsten Hopp 23bc38
  	thread_lib=
Karsten Hopp 23bc38
! 	if test "x$MACOSX" != "xyes"; then
Karsten Hopp 23bc38
  	  test "$GCC" = yes && threadsafe_flag="-pthread"
Karsten Hopp 23bc38
  	  if test "`(uname) 2>/dev/null`" = FreeBSD; then
Karsten Hopp 23bc38
  	    threadsafe_flag="-D_THREAD_SAFE"
Karsten Hopp 23bc38
--- 681,688 ----
Karsten Hopp 23bc38
  	AC_MSG_CHECKING([if -pthread should be used])
Karsten Hopp 23bc38
  	threadsafe_flag=
Karsten Hopp 23bc38
  	thread_lib=
Karsten Hopp 23bc38
! 	dnl if test "x$MACOSX" != "xyes"; then
Karsten Hopp 23bc38
!         if test "`(uname) 2>/dev/null`" != Darwin; then
Karsten Hopp 23bc38
  	  test "$GCC" = yes && threadsafe_flag="-pthread"
Karsten Hopp 23bc38
  	  if test "`(uname) 2>/dev/null`" = FreeBSD; then
Karsten Hopp 23bc38
  	    threadsafe_flag="-D_THREAD_SAFE"
Karsten Hopp 23bc38
***************
Karsten Hopp 23bc38
*** 2151,2158 ****
Karsten Hopp 23bc38
    dnl  Newer versions of ncurses are preferred over anything.
Karsten Hopp 23bc38
    dnl  Older versions of ncurses have bugs, get a new one!
Karsten Hopp 23bc38
    dnl  Digital Unix (OSF1) should use curses (Ronald Schild).
Karsten Hopp 23bc38
    case "`uname -s 2>/dev/null`" in
Karsten Hopp 23bc38
! 	OSF1)	tlibs="ncurses curses termlib termcap";;
Karsten Hopp 23bc38
  	*)	tlibs="ncurses termlib termcap curses";;
Karsten Hopp 23bc38
    esac
Karsten Hopp 23bc38
    for libname in $tlibs; do
Karsten Hopp 23bc38
--- 2152,2160 ----
Karsten Hopp 23bc38
    dnl  Newer versions of ncurses are preferred over anything.
Karsten Hopp 23bc38
    dnl  Older versions of ncurses have bugs, get a new one!
Karsten Hopp 23bc38
    dnl  Digital Unix (OSF1) should use curses (Ronald Schild).
Karsten Hopp 23bc38
+   dnl  On SCO Openserver should prefer termlib (Roger Cornelius).
Karsten Hopp 23bc38
    case "`uname -s 2>/dev/null`" in
Karsten Hopp 23bc38
! 	OSF1|SCO_SV)	tlibs="ncurses curses termlib termcap";;
Karsten Hopp 23bc38
  	*)	tlibs="ncurses termlib termcap curses";;
Karsten Hopp 23bc38
    esac
Karsten Hopp 23bc38
    for libname in $tlibs; do
Karsten Hopp 23bc38
*** ../vim-7.0.122/src/auto/configure	Tue Sep  5 17:30:25 2006
Karsten Hopp 23bc38
--- src/auto/configure	Thu Oct  5 22:02:45 2006
Karsten Hopp 23bc38
***************
Karsten Hopp 23bc38
*** 4256,4262 ****
Karsten Hopp 23bc38
  echo $ECHO_N "checking if -pthread should be used... $ECHO_C" >&6
Karsten Hopp 23bc38
  	threadsafe_flag=
Karsten Hopp 23bc38
  	thread_lib=
Karsten Hopp 23bc38
! 	if test "x$MACOSX" != "xyes"; then
Karsten Hopp 23bc38
  	  test "$GCC" = yes && threadsafe_flag="-pthread"
Karsten Hopp 23bc38
  	  if test "`(uname) 2>/dev/null`" = FreeBSD; then
Karsten Hopp 23bc38
  	    threadsafe_flag="-D_THREAD_SAFE"
Karsten Hopp 23bc38
--- 4256,4262 ----
Karsten Hopp 23bc38
  echo $ECHO_N "checking if -pthread should be used... $ECHO_C" >&6
Karsten Hopp 23bc38
  	threadsafe_flag=
Karsten Hopp 23bc38
  	thread_lib=
Karsten Hopp 23bc38
! 	        if test "`(uname) 2>/dev/null`" != Darwin; then
Karsten Hopp 23bc38
  	  test "$GCC" = yes && threadsafe_flag="-pthread"
Karsten Hopp 23bc38
  	  if test "`(uname) 2>/dev/null`" = FreeBSD; then
Karsten Hopp 23bc38
  	    threadsafe_flag="-D_THREAD_SAFE"
Karsten Hopp 23bc38
***************
Karsten Hopp 23bc38
*** 11555,11562 ****
Karsten Hopp 23bc38
  else
Karsten Hopp 23bc38
    echo "$as_me:$LINENO: result: empty: automatic terminal library selection" >&5
Karsten Hopp 23bc38
  echo "${ECHO_T}empty: automatic terminal library selection" >&6
Karsten Hopp 23bc38
!             case "`uname -s 2>/dev/null`" in
Karsten Hopp 23bc38
! 	OSF1)	tlibs="ncurses curses termlib termcap";;
Karsten Hopp 23bc38
  	*)	tlibs="ncurses termlib termcap curses";;
Karsten Hopp 23bc38
    esac
Karsten Hopp 23bc38
    for libname in $tlibs; do
Karsten Hopp 23bc38
--- 11555,11562 ----
Karsten Hopp 23bc38
  else
Karsten Hopp 23bc38
    echo "$as_me:$LINENO: result: empty: automatic terminal library selection" >&5
Karsten Hopp 23bc38
  echo "${ECHO_T}empty: automatic terminal library selection" >&6
Karsten Hopp 23bc38
!               case "`uname -s 2>/dev/null`" in
Karsten Hopp 23bc38
! 	OSF1|SCO_SV)	tlibs="ncurses curses termlib termcap";;
Karsten Hopp 23bc38
  	*)	tlibs="ncurses termlib termcap curses";;
Karsten Hopp 23bc38
    esac
Karsten Hopp 23bc38
    for libname in $tlibs; do
Karsten Hopp 23bc38
*** ../vim-7.0.122/src/version.c	Mon Oct  9 22:11:52 2006
Karsten Hopp 23bc38
--- src/version.c	Tue Oct 10 11:37:26 2006
Karsten Hopp 23bc38
***************
Karsten Hopp 23bc38
*** 668,669 ****
Karsten Hopp 23bc38
--- 668,671 ----
Karsten Hopp 23bc38
  {   /* Add new patch number below this line */
Karsten Hopp 23bc38
+ /**/
Karsten Hopp 23bc38
+     123,
Karsten Hopp 23bc38
  /**/
Karsten Hopp 23bc38
Karsten Hopp 23bc38
-- 
Karsten Hopp 23bc38
How To Keep A Healthy Level Of Insanity:
Karsten Hopp 23bc38
12. Sing along at the opera.
Karsten Hopp 23bc38
Karsten Hopp 23bc38
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 23bc38
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 23bc38
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp 23bc38
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///