Karsten Hopp 81c285
To: vim-dev@vim.org
Karsten Hopp 81c285
Subject: Patch 7.2.168
Karsten Hopp 81c285
Fcc: outbox
Karsten Hopp 81c285
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 81c285
Mime-Version: 1.0
Karsten Hopp 81c285
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 81c285
Content-Transfer-Encoding: 8bit
Karsten Hopp 81c285
------------
Karsten Hopp 81c285
Karsten Hopp 81c285
Patch 7.2.168
Karsten Hopp 81c285
Problem:    When no ctags program can be found, "make tags" attempts to
Karsten Hopp 81c285
	    execute the first C file.
Karsten Hopp 81c285
Solution:   Default to "ctags" when no ctags program can be found.
Karsten Hopp 81c285
Files:	    src/configure.in, src/auto/configure
Karsten Hopp 81c285
Karsten Hopp 81c285
Karsten Hopp 81c285
*** ../vim-7.2.167/src/configure.in	2009-04-22 17:50:53.000000000 +0200
Karsten Hopp 81c285
--- src/configure.in	2009-05-05 17:46:45.000000000 +0200
Karsten Hopp 81c285
***************
Karsten Hopp 81c285
*** 2968,2974 ****
Karsten Hopp 81c285
  dnl Link with xpg4, it is said to make Korean locale working
Karsten Hopp 81c285
  AC_CHECK_LIB(xpg4, _xpg4_setrunelocale, [LIBS="$LIBS -lxpg4"],,)
Karsten Hopp 81c285
  
Karsten Hopp 81c285
! dnl Check how we can run ctags
Karsten Hopp 81c285
  dnl --version for Exuberant ctags (preferred)
Karsten Hopp 81c285
  dnl       Add --fields=+S to get function signatures for omni completion.
Karsten Hopp 81c285
  dnl -t for typedefs (many ctags have this)
Karsten Hopp 81c285
--- 2968,2974 ----
Karsten Hopp 81c285
  dnl Link with xpg4, it is said to make Korean locale working
Karsten Hopp 81c285
  AC_CHECK_LIB(xpg4, _xpg4_setrunelocale, [LIBS="$LIBS -lxpg4"],,)
Karsten Hopp 81c285
  
Karsten Hopp 81c285
! dnl Check how we can run ctags.  Default to "ctags" when nothing works.
Karsten Hopp 81c285
  dnl --version for Exuberant ctags (preferred)
Karsten Hopp 81c285
  dnl       Add --fields=+S to get function signatures for omni completion.
Karsten Hopp 81c285
  dnl -t for typedefs (many ctags have this)
Karsten Hopp 81c285
***************
Karsten Hopp 81c285
*** 2980,2985 ****
Karsten Hopp 81c285
--- 2980,2986 ----
Karsten Hopp 81c285
  if (eval ctags --version /dev/null | grep Exuberant) < /dev/null 1>&AC_FD_CC 2>&1; then
Karsten Hopp 81c285
    TAGPRG="ctags -I INIT+ --fields=+S"
Karsten Hopp 81c285
  else
Karsten Hopp 81c285
+   TAGPRG="ctags"
Karsten Hopp 81c285
    (eval etags	   /dev/null) < /dev/null 1>&AC_FD_CC 2>&1 && TAGPRG="etags"
Karsten Hopp 81c285
    (eval etags -c   /dev/null) < /dev/null 1>&AC_FD_CC 2>&1 && TAGPRG="etags -c"
Karsten Hopp 81c285
    (eval ctags	   /dev/null) < /dev/null 1>&AC_FD_CC 2>&1 && TAGPRG="ctags"
Karsten Hopp 81c285
*** ../vim-7.2.167/src/auto/configure	2009-04-22 17:50:53.000000000 +0200
Karsten Hopp 81c285
--- src/auto/configure	2009-05-13 14:38:10.000000000 +0200
Karsten Hopp 81c285
***************
Karsten Hopp 81c285
*** 15707,15712 ****
Karsten Hopp 81c285
--- 15723,15729 ----
Karsten Hopp 81c285
  if (eval ctags --version /dev/null | grep Exuberant) < /dev/null 1>&5 2>&1; then
Karsten Hopp 81c285
    TAGPRG="ctags -I INIT+ --fields=+S"
Karsten Hopp 81c285
  else
Karsten Hopp 81c285
+   TAGPRG="ctags"
Karsten Hopp 81c285
    (eval etags	   /dev/null) < /dev/null 1>&5 2>&1 && TAGPRG="etags"
Karsten Hopp 81c285
    (eval etags -c   /dev/null) < /dev/null 1>&5 2>&1 && TAGPRG="etags -c"
Karsten Hopp 81c285
    (eval ctags	   /dev/null) < /dev/null 1>&5 2>&1 && TAGPRG="ctags"
Karsten Hopp 81c285
*** ../vim-7.2.167/src/version.c	2009-05-13 12:46:36.000000000 +0200
Karsten Hopp 81c285
--- src/version.c	2009-05-13 14:46:35.000000000 +0200
Karsten Hopp 81c285
***************
Karsten Hopp 81c285
*** 678,679 ****
Karsten Hopp 81c285
--- 678,681 ----
Karsten Hopp 81c285
  {   /* Add new patch number below this line */
Karsten Hopp 81c285
+ /**/
Karsten Hopp 81c285
+     168,
Karsten Hopp 81c285
  /**/
Karsten Hopp 81c285
Karsten Hopp 81c285
-- 
Karsten Hopp 81c285
Zen Microsystems: we're the om in .commmmmmmmm
Karsten Hopp 81c285
Karsten Hopp 81c285
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 81c285
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 81c285
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp 81c285
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///