@@ -2619,7 +2619,7 @@ else
26192619 dnl On HP-UX 10.10 termcap or termlib should be used instead of
26202620 dnl curses, because curses is much slower.
26212621 dnl Newer versions of ncurses are preferred over anything, except
2622- dnl when tinfo has been split off, it conains all we need.
2622+ dnl when tinfo has been split off, it contains all we need.
26232623 dnl Older versions of ncurses have bugs, get a new one!
26242624 dnl Digital Unix (OSF1) should use curses (Ronald Schild).
26252625 dnl On SCO Openserver should prefer termlib (Roger Cornelius).
@@ -3370,15 +3370,17 @@ dnl Link with xpg4, it is said to make Korean locale working
33703370AC_CHECK_LIB(xpg4, _xpg4_setrunelocale, [LIBS="$LIBS -lxpg4"],,)
33713371
33723372dnl Check how we can run ctags. Default to "ctags" when nothing works.
3373- dnl --version for Exuberant ctags (preferred)
3373+ dnl Use --version to detect Exuberant ctags (preferred)
33743374dnl Add --fields=+S to get function signatures for omni completion.
33753375dnl -t for typedefs (many ctags have this)
33763376dnl -s for static functions (Elvis ctags only?)
33773377dnl -v for variables. Dangerous, most ctags take this for 'vgrind style'.
33783378dnl -i+m to test for older Exuberant ctags
33793379AC_MSG_CHECKING(how to create tags)
33803380test -f tags && mv tags tags.save
3381- if (eval ctags --version /dev/null | grep Exuberant) < /dev/null 1>&AC_FD_CC 2>&1; then
3381+ if (eval exctags --version /dev/null | grep Exuberant) < /dev/null 1>&AC_FD_CC 2>&1; then
3382+ TAGPRG="exctags -I INIT+ --fields=+S"
3383+ elif (eval ctags --version /dev/null | grep Exuberant) < /dev/null 1>&AC_FD_CC 2>&1; then
33823384 TAGPRG="ctags -I INIT+ --fields=+S"
33833385else
33843386 TAGPRG="ctags"
0 commit comments