1 To: vim_dev@googlegroups.com
4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
11 Problem: When Exuberant ctags binary is exctags it's not found.
12 Solution: Add configure check for exctags. (Hong Xu)
13 Files: src/configure.in, src/auto/configure
16 *** ../vim-7.3.173/src/configure.in 2011-02-09 17:42:53.000000000 +0100
17 --- src/configure.in 2011-05-05 17:18:21.000000000 +0200
20 dnl On HP-UX 10.10 termcap or termlib should be used instead of
21 dnl curses, because curses is much slower.
22 dnl Newer versions of ncurses are preferred over anything, except
23 ! dnl when tinfo has been split off, it conains all we need.
24 dnl Older versions of ncurses have bugs, get a new one!
25 dnl Digital Unix (OSF1) should use curses (Ronald Schild).
26 dnl On SCO Openserver should prefer termlib (Roger Cornelius).
28 dnl On HP-UX 10.10 termcap or termlib should be used instead of
29 dnl curses, because curses is much slower.
30 dnl Newer versions of ncurses are preferred over anything, except
31 ! dnl when tinfo has been split off, it contains all we need.
32 dnl Older versions of ncurses have bugs, get a new one!
33 dnl Digital Unix (OSF1) should use curses (Ronald Schild).
34 dnl On SCO Openserver should prefer termlib (Roger Cornelius).
37 AC_CHECK_LIB(xpg4, _xpg4_setrunelocale, [LIBS="$LIBS -lxpg4"],,)
39 dnl Check how we can run ctags. Default to "ctags" when nothing works.
40 ! dnl --version for Exuberant ctags (preferred)
41 dnl Add --fields=+S to get function signatures for omni completion.
42 dnl -t for typedefs (many ctags have this)
43 dnl -s for static functions (Elvis ctags only?)
45 AC_CHECK_LIB(xpg4, _xpg4_setrunelocale, [LIBS="$LIBS -lxpg4"],,)
47 dnl Check how we can run ctags. Default to "ctags" when nothing works.
48 ! dnl Use --version to detect Exuberant ctags (preferred)
49 dnl Add --fields=+S to get function signatures for omni completion.
50 dnl -t for typedefs (many ctags have this)
51 dnl -s for static functions (Elvis ctags only?)
54 dnl -i+m to test for older Exuberant ctags
55 AC_MSG_CHECKING(how to create tags)
56 test -f tags && mv tags tags.save
57 ! if (eval ctags --version /dev/null | grep Exuberant) < /dev/null 1>&AC_FD_CC 2>&1; then
58 TAGPRG="ctags -I INIT+ --fields=+S"
62 dnl -i+m to test for older Exuberant ctags
63 AC_MSG_CHECKING(how to create tags)
64 test -f tags && mv tags tags.save
65 ! if (eval exctags --version /dev/null | grep Exuberant) < /dev/null 1>&AC_FD_CC 2>&1; then
66 ! TAGPRG="exctags -I INIT+ --fields=+S"
67 ! elif (eval ctags --version /dev/null | grep Exuberant) < /dev/null 1>&AC_FD_CC 2>&1; then
68 TAGPRG="ctags -I INIT+ --fields=+S"
71 *** ../vim-7.3.173/src/auto/configure 2011-02-09 17:42:53.000000000 +0100
72 --- src/auto/configure 2011-05-05 17:19:26.000000000 +0200
75 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create tags" >&5
76 $as_echo_n "checking how to create tags... " >&6; }
77 test -f tags && mv tags tags.save
78 ! if (eval ctags --version /dev/null | grep Exuberant) < /dev/null 1>&5 2>&1; then
79 TAGPRG="ctags -I INIT+ --fields=+S"
83 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create tags" >&5
84 $as_echo_n "checking how to create tags... " >&6; }
85 test -f tags && mv tags tags.save
86 ! if (eval exctags --version /dev/null | grep Exuberant) < /dev/null 1>&5 2>&1; then
87 ! TAGPRG="exctags -I INIT+ --fields=+S"
88 ! elif (eval ctags --version /dev/null | grep Exuberant) < /dev/null 1>&5 2>&1; then
89 TAGPRG="ctags -I INIT+ --fields=+S"
92 *** ../vim-7.3.173/src/version.c 2011-05-05 17:14:07.000000000 +0200
93 --- src/version.c 2011-05-05 17:19:37.000000000 +0200
97 { /* Add new patch number below this line */
103 hundred-and-one symptoms of being an internet addict:
104 54. You start tilting your head sideways to smile. :-)
106 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
107 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
108 \\\ an exciting new programming language -- http://www.Zimbu.org ///
109 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///