summaryrefslogtreecommitdiff
path: root/src/configure.in
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2009-05-13 12:49:39 +0000
committerBram Moolenaar <Bram@vim.org>2009-05-13 12:49:39 +0000
commit0c7ce77a00469e0d8956de3df06b5fde4023ad47 (patch)
treeb5da55efdab4e1ea1faa4d933dbbd14ce841d1e7 /src/configure.in
parent4221e5fa6c407ab40c34b38b7c2e8a7d4e733663 (diff)
downloadvim-git-0c7ce77a00469e0d8956de3df06b5fde4023ad47.tar.gz
updated for version 7.2-168v7.2.168
Diffstat (limited to 'src/configure.in')
-rw-r--r--src/configure.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/configure.in b/src/configure.in
index 682141722..8060d4d97 100644
--- a/src/configure.in
+++ b/src/configure.in
@@ -2968,7 +2968,7 @@ fi
dnl Link with xpg4, it is said to make Korean locale working
AC_CHECK_LIB(xpg4, _xpg4_setrunelocale, [LIBS="$LIBS -lxpg4"],,)
-dnl Check how we can run ctags
+dnl Check how we can run ctags. Default to "ctags" when nothing works.
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)
@@ -2980,6 +2980,7 @@ 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+ --fields=+S"
else
+ TAGPRG="ctags"
(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"
(eval ctags /dev/null) < /dev/null 1>&AC_FD_CC 2>&1 && TAGPRG="ctags"