lkundrak / rpms / vim

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