]>
Commit | Line | Data |
---|---|---|
d22eaa71 ER |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 7.2.168 | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | Mime-Version: 1.0 | |
6 | Content-Type: text/plain; charset=UTF-8 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ------------ | |
9 | ||
10 | Patch 7.2.168 | |
11 | Problem: When no ctags program can be found, "make tags" attempts to | |
12 | execute the first C file. | |
13 | Solution: Default to "ctags" when no ctags program can be found. | |
14 | Files: src/configure.in, src/auto/configure | |
15 | ||
16 | ||
17 | *** ../vim-7.2.167/src/configure.in 2009-04-22 17:50:53.000000000 +0200 | |
18 | --- src/configure.in 2009-05-05 17:46:45.000000000 +0200 | |
19 | *************** | |
20 | *** 2968,2974 **** | |
21 | dnl Link with xpg4, it is said to make Korean locale working | |
22 | AC_CHECK_LIB(xpg4, _xpg4_setrunelocale, [LIBS="$LIBS -lxpg4"],,) | |
23 | ||
24 | ! dnl Check how we can run ctags | |
25 | dnl --version for Exuberant ctags (preferred) | |
26 | dnl Add --fields=+S to get function signatures for omni completion. | |
27 | dnl -t for typedefs (many ctags have this) | |
28 | --- 2968,2974 ---- | |
29 | dnl Link with xpg4, it is said to make Korean locale working | |
30 | AC_CHECK_LIB(xpg4, _xpg4_setrunelocale, [LIBS="$LIBS -lxpg4"],,) | |
31 | ||
32 | ! dnl Check how we can run ctags. Default to "ctags" when nothing works. | |
33 | dnl --version for Exuberant ctags (preferred) | |
34 | dnl Add --fields=+S to get function signatures for omni completion. | |
35 | dnl -t for typedefs (many ctags have this) | |
36 | *************** | |
37 | *** 2980,2985 **** | |
38 | --- 2980,2986 ---- | |
39 | if (eval ctags --version /dev/null | grep Exuberant) < /dev/null 1>&AC_FD_CC 2>&1; then | |
40 | TAGPRG="ctags -I INIT+ --fields=+S" | |
41 | else | |
42 | + TAGPRG="ctags" | |
43 | (eval etags /dev/null) < /dev/null 1>&AC_FD_CC 2>&1 && TAGPRG="etags" | |
44 | (eval etags -c /dev/null) < /dev/null 1>&AC_FD_CC 2>&1 && TAGPRG="etags -c" | |
45 | (eval ctags /dev/null) < /dev/null 1>&AC_FD_CC 2>&1 && TAGPRG="ctags" | |
46 | *** ../vim-7.2.167/src/auto/configure 2009-04-22 17:50:53.000000000 +0200 | |
47 | --- src/auto/configure 2009-05-13 14:38:10.000000000 +0200 | |
48 | *************** | |
49 | *** 15707,15712 **** | |
50 | --- 15723,15729 ---- | |
51 | if (eval ctags --version /dev/null | grep Exuberant) < /dev/null 1>&5 2>&1; then | |
52 | TAGPRG="ctags -I INIT+ --fields=+S" | |
53 | else | |
54 | + TAGPRG="ctags" | |
55 | (eval etags /dev/null) < /dev/null 1>&5 2>&1 && TAGPRG="etags" | |
56 | (eval etags -c /dev/null) < /dev/null 1>&5 2>&1 && TAGPRG="etags -c" | |
57 | (eval ctags /dev/null) < /dev/null 1>&5 2>&1 && TAGPRG="ctags" | |
58 | *** ../vim-7.2.167/src/version.c 2009-05-13 12:46:36.000000000 +0200 | |
59 | --- src/version.c 2009-05-13 14:46:35.000000000 +0200 | |
60 | *************** | |
61 | *** 678,679 **** | |
62 | --- 678,681 ---- | |
63 | { /* Add new patch number below this line */ | |
64 | + /**/ | |
65 | + 168, | |
66 | /**/ | |
67 | ||
68 | -- | |
69 | Zen Microsystems: we're the om in .commmmmmmmm | |
70 | ||
71 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
72 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
73 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
74 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |