Karsten Hopp f414f0
To: vim_dev@googlegroups.com
Karsten Hopp f414f0
Subject: Patch 7.3.183
Karsten Hopp f414f0
Fcc: outbox
Karsten Hopp f414f0
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp f414f0
Mime-Version: 1.0
Karsten Hopp f414f0
Content-Type: text/plain; charset=UTF-8
Karsten Hopp f414f0
Content-Transfer-Encoding: 8bit
Karsten Hopp f414f0
------------
Karsten Hopp f414f0
Karsten Hopp f414f0
Patch 7.3.183 (after 7.3.174)
Karsten Hopp f414f0
Problem:    When Exuberant ctags binary is exuberant-ctags it's not found.
Karsten Hopp f414f0
Solution:   Add configure check for exuberant-ctags.
Karsten Hopp f414f0
Files:	    src/configure.in, src/auto/configure
Karsten Hopp f414f0
Karsten Hopp f414f0
Karsten Hopp f414f0
*** ../vim-7.3.182/src/configure.in	2011-05-05 18:10:11.000000000 +0200
Karsten Hopp f414f0
--- src/configure.in	2011-05-10 15:39:38.000000000 +0200
Karsten Hopp f414f0
***************
Karsten Hopp f414f0
*** 3375,3384 ****
Karsten Hopp f414f0
  dnl -i+m to test for older Exuberant ctags
Karsten Hopp f414f0
  AC_MSG_CHECKING(how to create tags)
Karsten Hopp f414f0
  test -f tags && mv tags tags.save
Karsten Hopp f414f0
! if (eval exctags --version /dev/null | grep Exuberant) < /dev/null 1>&AC_FD_CC 2>&1; then
Karsten Hopp f414f0
!   TAGPRG="exctags -I INIT+ --fields=+S"
Karsten Hopp f414f0
! elif (eval ctags --version /dev/null | grep Exuberant) < /dev/null 1>&AC_FD_CC 2>&1; then
Karsten Hopp f414f0
    TAGPRG="ctags -I INIT+ --fields=+S"
Karsten Hopp f414f0
  else
Karsten Hopp f414f0
    TAGPRG="ctags"
Karsten Hopp f414f0
    (eval etags	   /dev/null) < /dev/null 1>&AC_FD_CC 2>&1 && TAGPRG="etags"
Karsten Hopp f414f0
--- 3375,3386 ----
Karsten Hopp f414f0
  dnl -i+m to test for older Exuberant ctags
Karsten Hopp f414f0
  AC_MSG_CHECKING(how to create tags)
Karsten Hopp f414f0
  test -f tags && mv tags tags.save
Karsten Hopp f414f0
! if (eval ctags --version /dev/null | grep Exuberant) < /dev/null 1>&AC_FD_CC 2>&1; then
Karsten Hopp f414f0
    TAGPRG="ctags -I INIT+ --fields=+S"
Karsten Hopp f414f0
+ elif (eval exctags --version /dev/null | grep Exuberant) < /dev/null 1>&AC_FD_CC 2>&1; then
Karsten Hopp f414f0
+   TAGPRG="exctags -I INIT+ --fields=+S"
Karsten Hopp f414f0
+ elif (eval exuberant-ctags --version /dev/null | grep Exuberant) < /dev/null 1>&AC_FD_CC 2>&1; then
Karsten Hopp f414f0
+   TAGPRG="exuberant-ctags -I INIT+ --fields=+S"
Karsten Hopp f414f0
  else
Karsten Hopp f414f0
    TAGPRG="ctags"
Karsten Hopp f414f0
    (eval etags	   /dev/null) < /dev/null 1>&AC_FD_CC 2>&1 && TAGPRG="etags"
Karsten Hopp f414f0
*** ../vim-7.3.182/src/auto/configure	2011-05-05 18:10:11.000000000 +0200
Karsten Hopp f414f0
--- src/auto/configure	2011-05-10 15:39:41.000000000 +0200
Karsten Hopp f414f0
***************
Karsten Hopp f414f0
*** 12028,12037 ****
Karsten Hopp f414f0
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create tags" >&5
Karsten Hopp f414f0
  $as_echo_n "checking how to create tags... " >&6; }
Karsten Hopp f414f0
  test -f tags && mv tags tags.save
Karsten Hopp f414f0
! if (eval exctags --version /dev/null | grep Exuberant) < /dev/null 1>&5 2>&1; then
Karsten Hopp f414f0
!   TAGPRG="exctags -I INIT+ --fields=+S"
Karsten Hopp f414f0
! elif (eval ctags --version /dev/null | grep Exuberant) < /dev/null 1>&5 2>&1; then
Karsten Hopp f414f0
    TAGPRG="ctags -I INIT+ --fields=+S"
Karsten Hopp f414f0
  else
Karsten Hopp f414f0
    TAGPRG="ctags"
Karsten Hopp f414f0
    (eval etags	   /dev/null) < /dev/null 1>&5 2>&1 && TAGPRG="etags"
Karsten Hopp f414f0
--- 12028,12039 ----
Karsten Hopp f414f0
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create tags" >&5
Karsten Hopp f414f0
  $as_echo_n "checking how to create tags... " >&6; }
Karsten Hopp f414f0
  test -f tags && mv tags tags.save
Karsten Hopp f414f0
! if (eval ctags --version /dev/null | grep Exuberant) < /dev/null 1>&5 2>&1; then
Karsten Hopp f414f0
    TAGPRG="ctags -I INIT+ --fields=+S"
Karsten Hopp f414f0
+ elif (eval exctags --version /dev/null | grep Exuberant) < /dev/null 1>&5 2>&1; then
Karsten Hopp f414f0
+   TAGPRG="exctags -I INIT+ --fields=+S"
Karsten Hopp f414f0
+ elif (eval exuberant-ctags --version /dev/null | grep Exuberant) < /dev/null 1>&5 2>&1; then
Karsten Hopp f414f0
+   TAGPRG="exuberant-ctags -I INIT+ --fields=+S"
Karsten Hopp f414f0
  else
Karsten Hopp f414f0
    TAGPRG="ctags"
Karsten Hopp f414f0
    (eval etags	   /dev/null) < /dev/null 1>&5 2>&1 && TAGPRG="etags"
Karsten Hopp f414f0
*** ../vim-7.3.182/src/version.c	2011-05-10 14:44:07.000000000 +0200
Karsten Hopp f414f0
--- src/version.c	2011-05-10 15:40:48.000000000 +0200
Karsten Hopp f414f0
***************
Karsten Hopp f414f0
*** 716,717 ****
Karsten Hopp f414f0
--- 716,719 ----
Karsten Hopp f414f0
  {   /* Add new patch number below this line */
Karsten Hopp f414f0
+ /**/
Karsten Hopp f414f0
+     183,
Karsten Hopp f414f0
  /**/
Karsten Hopp f414f0
Karsten Hopp f414f0
-- 
Karsten Hopp f414f0
hundred-and-one symptoms of being an internet addict:
Karsten Hopp f414f0
78. You find yourself dialing IP numbers on the phone.
Karsten Hopp f414f0
Karsten Hopp f414f0
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp f414f0
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp f414f0
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp f414f0
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///