Karsten Hopp c38c11
To: vim_dev@googlegroups.com
Karsten Hopp c38c11
Subject: Patch 7.3.174
Karsten Hopp c38c11
Fcc: outbox
Karsten Hopp c38c11
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp c38c11
Mime-Version: 1.0
Karsten Hopp c38c11
Content-Type: text/plain; charset=UTF-8
Karsten Hopp c38c11
Content-Transfer-Encoding: 8bit
Karsten Hopp c38c11
------------
Karsten Hopp c38c11
Karsten Hopp c38c11
Patch 7.3.174
Karsten Hopp c38c11
Problem:    When Exuberant ctags binary is exctags it's not found.
Karsten Hopp c38c11
Solution:   Add configure check for exctags. (Hong Xu)
Karsten Hopp c38c11
Files:	    src/configure.in, src/auto/configure
Karsten Hopp c38c11
Karsten Hopp c38c11
Karsten Hopp c38c11
*** ../vim-7.3.173/src/configure.in	2011-02-09 17:42:53.000000000 +0100
Karsten Hopp c38c11
--- src/configure.in	2011-05-05 17:18:21.000000000 +0200
Karsten Hopp c38c11
***************
Karsten Hopp c38c11
*** 2619,2625 ****
Karsten Hopp c38c11
    dnl  On HP-UX 10.10 termcap or termlib should be used instead of
Karsten Hopp c38c11
    dnl  curses, because curses is much slower.
Karsten Hopp c38c11
    dnl  Newer versions of ncurses are preferred over anything, except
Karsten Hopp c38c11
!   dnl  when tinfo has been split off, it conains all we need.
Karsten Hopp c38c11
    dnl  Older versions of ncurses have bugs, get a new one!
Karsten Hopp c38c11
    dnl  Digital Unix (OSF1) should use curses (Ronald Schild).
Karsten Hopp c38c11
    dnl  On SCO Openserver should prefer termlib (Roger Cornelius).
Karsten Hopp c38c11
--- 2619,2625 ----
Karsten Hopp c38c11
    dnl  On HP-UX 10.10 termcap or termlib should be used instead of
Karsten Hopp c38c11
    dnl  curses, because curses is much slower.
Karsten Hopp c38c11
    dnl  Newer versions of ncurses are preferred over anything, except
Karsten Hopp c38c11
!   dnl  when tinfo has been split off, it contains all we need.
Karsten Hopp c38c11
    dnl  Older versions of ncurses have bugs, get a new one!
Karsten Hopp c38c11
    dnl  Digital Unix (OSF1) should use curses (Ronald Schild).
Karsten Hopp c38c11
    dnl  On SCO Openserver should prefer termlib (Roger Cornelius).
Karsten Hopp c38c11
***************
Karsten Hopp c38c11
*** 3370,3376 ****
Karsten Hopp c38c11
  AC_CHECK_LIB(xpg4, _xpg4_setrunelocale, [LIBS="$LIBS -lxpg4"],,)
Karsten Hopp c38c11
  
Karsten Hopp c38c11
  dnl Check how we can run ctags.  Default to "ctags" when nothing works.
Karsten Hopp c38c11
! dnl --version for Exuberant ctags (preferred)
Karsten Hopp c38c11
  dnl       Add --fields=+S to get function signatures for omni completion.
Karsten Hopp c38c11
  dnl -t for typedefs (many ctags have this)
Karsten Hopp c38c11
  dnl -s for static functions (Elvis ctags only?)
Karsten Hopp c38c11
--- 3370,3376 ----
Karsten Hopp c38c11
  AC_CHECK_LIB(xpg4, _xpg4_setrunelocale, [LIBS="$LIBS -lxpg4"],,)
Karsten Hopp c38c11
  
Karsten Hopp c38c11
  dnl Check how we can run ctags.  Default to "ctags" when nothing works.
Karsten Hopp c38c11
! dnl Use --version to detect Exuberant ctags (preferred)
Karsten Hopp c38c11
  dnl       Add --fields=+S to get function signatures for omni completion.
Karsten Hopp c38c11
  dnl -t for typedefs (many ctags have this)
Karsten Hopp c38c11
  dnl -s for static functions (Elvis ctags only?)
Karsten Hopp c38c11
***************
Karsten Hopp c38c11
*** 3378,3384 ****
Karsten Hopp c38c11
  dnl -i+m to test for older Exuberant ctags
Karsten Hopp c38c11
  AC_MSG_CHECKING(how to create tags)
Karsten Hopp c38c11
  test -f tags && mv tags tags.save
Karsten Hopp c38c11
! if (eval ctags --version /dev/null | grep Exuberant) < /dev/null 1>&AC_FD_CC 2>&1; then
Karsten Hopp c38c11
    TAGPRG="ctags -I INIT+ --fields=+S"
Karsten Hopp c38c11
  else
Karsten Hopp c38c11
    TAGPRG="ctags"
Karsten Hopp c38c11
--- 3378,3386 ----
Karsten Hopp c38c11
  dnl -i+m to test for older Exuberant ctags
Karsten Hopp c38c11
  AC_MSG_CHECKING(how to create tags)
Karsten Hopp c38c11
  test -f tags && mv tags tags.save
Karsten Hopp c38c11
! if (eval exctags --version /dev/null | grep Exuberant) < /dev/null 1>&AC_FD_CC 2>&1; then
Karsten Hopp c38c11
!   TAGPRG="exctags -I INIT+ --fields=+S"
Karsten Hopp c38c11
! elif (eval ctags --version /dev/null | grep Exuberant) < /dev/null 1>&AC_FD_CC 2>&1; then
Karsten Hopp c38c11
    TAGPRG="ctags -I INIT+ --fields=+S"
Karsten Hopp c38c11
  else
Karsten Hopp c38c11
    TAGPRG="ctags"
Karsten Hopp c38c11
*** ../vim-7.3.173/src/auto/configure	2011-02-09 17:42:53.000000000 +0100
Karsten Hopp c38c11
--- src/auto/configure	2011-05-05 17:19:26.000000000 +0200
Karsten Hopp c38c11
***************
Karsten Hopp c38c11
*** 12031,12037 ****
Karsten Hopp c38c11
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create tags" >&5
Karsten Hopp c38c11
  $as_echo_n "checking how to create tags... " >&6; }
Karsten Hopp c38c11
  test -f tags && mv tags tags.save
Karsten Hopp c38c11
! if (eval ctags --version /dev/null | grep Exuberant) < /dev/null 1>&5 2>&1; then
Karsten Hopp c38c11
    TAGPRG="ctags -I INIT+ --fields=+S"
Karsten Hopp c38c11
  else
Karsten Hopp c38c11
    TAGPRG="ctags"
Karsten Hopp c38c11
--- 12031,12039 ----
Karsten Hopp c38c11
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create tags" >&5
Karsten Hopp c38c11
  $as_echo_n "checking how to create tags... " >&6; }
Karsten Hopp c38c11
  test -f tags && mv tags tags.save
Karsten Hopp c38c11
! if (eval exctags --version /dev/null | grep Exuberant) < /dev/null 1>&5 2>&1; then
Karsten Hopp c38c11
!   TAGPRG="exctags -I INIT+ --fields=+S"
Karsten Hopp c38c11
! elif (eval ctags --version /dev/null | grep Exuberant) < /dev/null 1>&5 2>&1; then
Karsten Hopp c38c11
    TAGPRG="ctags -I INIT+ --fields=+S"
Karsten Hopp c38c11
  else
Karsten Hopp c38c11
    TAGPRG="ctags"
Karsten Hopp c38c11
*** ../vim-7.3.173/src/version.c	2011-05-05 17:14:07.000000000 +0200
Karsten Hopp c38c11
--- src/version.c	2011-05-05 17:19:37.000000000 +0200
Karsten Hopp c38c11
***************
Karsten Hopp c38c11
*** 716,717 ****
Karsten Hopp c38c11
--- 716,719 ----
Karsten Hopp c38c11
  {   /* Add new patch number below this line */
Karsten Hopp c38c11
+ /**/
Karsten Hopp c38c11
+     174,
Karsten Hopp c38c11
  /**/
Karsten Hopp c38c11
Karsten Hopp c38c11
-- 
Karsten Hopp c38c11
hundred-and-one symptoms of being an internet addict:
Karsten Hopp c38c11
54. You start tilting your head sideways to smile. :-)
Karsten Hopp c38c11
Karsten Hopp c38c11
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp c38c11
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp c38c11
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp c38c11
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///