0
0
mirror of https://github.com/vim/vim.git synced 2025-10-03 05:14:07 -04:00

updated for version 7.3.183

Problem:    When Exuberant ctags binary is exuberant-ctags it's not found.
Solution:   Add configure check for exuberant-ctags.
This commit is contained in:
Bram Moolenaar
2011-05-10 15:42:03 +02:00
parent 05da428462
commit 5897e0c470
3 changed files with 12 additions and 6 deletions

8
src/auto/configure vendored
View File

@@ -12028,10 +12028,12 @@ fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create tags" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create tags" >&5
$as_echo_n "checking how to create tags... " >&6; } $as_echo_n "checking how to create tags... " >&6; }
test -f tags && mv tags tags.save test -f tags && mv tags tags.save
if (eval exctags --version /dev/null | grep Exuberant) < /dev/null 1>&5 2>&1; then if (eval ctags --version /dev/null | grep Exuberant) < /dev/null 1>&5 2>&1; then
TAGPRG="exctags -I INIT+ --fields=+S"
elif (eval ctags --version /dev/null | grep Exuberant) < /dev/null 1>&5 2>&1; then
TAGPRG="ctags -I INIT+ --fields=+S" TAGPRG="ctags -I INIT+ --fields=+S"
elif (eval exctags --version /dev/null | grep Exuberant) < /dev/null 1>&5 2>&1; then
TAGPRG="exctags -I INIT+ --fields=+S"
elif (eval exuberant-ctags --version /dev/null | grep Exuberant) < /dev/null 1>&5 2>&1; then
TAGPRG="exuberant-ctags -I INIT+ --fields=+S"
else else
TAGPRG="ctags" TAGPRG="ctags"
(eval etags /dev/null) < /dev/null 1>&5 2>&1 && TAGPRG="etags" (eval etags /dev/null) < /dev/null 1>&5 2>&1 && TAGPRG="etags"

View File

@@ -3375,10 +3375,12 @@ dnl -v for variables. Dangerous, most ctags take this for 'vgrind style'.
dnl -i+m to test for older Exuberant ctags dnl -i+m to test for older Exuberant ctags
AC_MSG_CHECKING(how to create tags) AC_MSG_CHECKING(how to create tags)
test -f tags && mv tags tags.save test -f tags && mv tags tags.save
if (eval exctags --version /dev/null | grep Exuberant) < /dev/null 1>&AC_FD_CC 2>&1; then if (eval ctags --version /dev/null | grep Exuberant) < /dev/null 1>&AC_FD_CC 2>&1; then
TAGPRG="exctags -I INIT+ --fields=+S"
elif (eval ctags --version /dev/null | grep Exuberant) < /dev/null 1>&AC_FD_CC 2>&1; then
TAGPRG="ctags -I INIT+ --fields=+S" TAGPRG="ctags -I INIT+ --fields=+S"
elif (eval exctags --version /dev/null | grep Exuberant) < /dev/null 1>&AC_FD_CC 2>&1; then
TAGPRG="exctags -I INIT+ --fields=+S"
elif (eval exuberant-ctags --version /dev/null | grep Exuberant) < /dev/null 1>&AC_FD_CC 2>&1; then
TAGPRG="exuberant-ctags -I INIT+ --fields=+S"
else else
TAGPRG="ctags" TAGPRG="ctags"
(eval etags /dev/null) < /dev/null 1>&AC_FD_CC 2>&1 && TAGPRG="etags" (eval etags /dev/null) < /dev/null 1>&AC_FD_CC 2>&1 && TAGPRG="etags"

View File

@@ -714,6 +714,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
183,
/**/ /**/
182, 182,
/**/ /**/