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