diff options
Diffstat (limited to 'src/configure.in')
-rw-r--r-- | src/configure.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/configure.in b/src/configure.in index 3b867e5f5..21a5f80c0 100644 --- a/src/configure.in +++ b/src/configure.in @@ -2668,6 +2668,7 @@ AC_CHECK_LIB(xpg4, _xpg4_setrunelocale, [LIBS="$LIBS -lxpg4"],,) dnl Check how we can run ctags dnl --version for Exuberant ctags (preferred) +dnl Add --fields=+S to get function signatures for omni completion. dnl -t for typedefs (many ctags have this) dnl -s for static functions (Elvis ctags only?) dnl -v for variables. Dangerous, most ctags take this for 'vgrind style'. @@ -2675,7 +2676,7 @@ 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 - TAGPRG="ctags -I INIT+" + TAGPRG="ctags -I INIT+ --fields=+S" else (eval etags /dev/null) < /dev/null 1>&AC_FD_CC 2>&1 && TAGPRG="etags" (eval etags -c /dev/null) < /dev/null 1>&AC_FD_CC 2>&1 && TAGPRG="etags -c" |