Hello,

The comment in configure.in says "Exuberant ctags is preferred", but it
doesn't check exctags command. On some systems, the binary of Exuberant
ctags is default to exctags, such as my NetBSD, while ctags is the
default ctags shipped with the operating system; so we also need to
check exctags.

Regards,
Hong Xu
04/02/2011

--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
diff -r 6e042e124c4e src/configure.in
--- a/src/configure.in  Fri Apr 01 19:14:40 2011 +0200
+++ b/src/configure.in  Sat Apr 02 03:23:33 2011 +0800
@@ -3378,7 +3378,9 @@
 dnl -i+m to test for older Exuberant ctags
 AC_MSG_CHECKING(how to create tags)
 test -f tags && mv tags tags.save
-if (eval ctags --version /dev/null | grep Exuberant) < /dev/null 1>&AC_FD_CC 
2>&1; then
+if (eval exctags --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"
 else
   TAGPRG="ctags"

Raspunde prin e-mail lui