Mercurial > vim
comparison src/configure.in @ 2797:820f12659c50 v7.3.174
updated for version 7.3.174
Problem: When Exuberant ctags binary is exctags it's not found.
Solution: Add configure check for exctags. (Hong Xu)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Thu, 05 May 2011 17:24:27 +0200 |
parents | 7c46737918cb |
children | 94f42ae4e4e6 |
comparison
equal
deleted
inserted
replaced
2796:16c2e9c44b1f | 2797:820f12659c50 |
---|---|
2617 else | 2617 else |
2618 AC_MSG_RESULT([empty: automatic terminal library selection]) | 2618 AC_MSG_RESULT([empty: automatic terminal library selection]) |
2619 dnl On HP-UX 10.10 termcap or termlib should be used instead of | 2619 dnl On HP-UX 10.10 termcap or termlib should be used instead of |
2620 dnl curses, because curses is much slower. | 2620 dnl curses, because curses is much slower. |
2621 dnl Newer versions of ncurses are preferred over anything, except | 2621 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. |
2623 dnl Older versions of ncurses have bugs, get a new one! | 2623 dnl Older versions of ncurses have bugs, get a new one! |
2624 dnl Digital Unix (OSF1) should use curses (Ronald Schild). | 2624 dnl Digital Unix (OSF1) should use curses (Ronald Schild). |
2625 dnl On SCO Openserver should prefer termlib (Roger Cornelius). | 2625 dnl On SCO Openserver should prefer termlib (Roger Cornelius). |
2626 case "`uname -s 2>/dev/null`" in | 2626 case "`uname -s 2>/dev/null`" in |
2627 OSF1|SCO_SV) tlibs="tinfo ncurses curses termlib termcap";; | 2627 OSF1|SCO_SV) tlibs="tinfo ncurses curses termlib termcap";; |
3368 | 3368 |
3369 dnl Link with xpg4, it is said to make Korean locale working | 3369 dnl Link with xpg4, it is said to make Korean locale working |
3370 AC_CHECK_LIB(xpg4, _xpg4_setrunelocale, [LIBS="$LIBS -lxpg4"],,) | 3370 AC_CHECK_LIB(xpg4, _xpg4_setrunelocale, [LIBS="$LIBS -lxpg4"],,) |
3371 | 3371 |
3372 dnl Check how we can run ctags. Default to "ctags" when nothing works. | 3372 dnl 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) |
3374 dnl Add --fields=+S to get function signatures for omni completion. | 3374 dnl Add --fields=+S to get function signatures for omni completion. |
3375 dnl -t for typedefs (many ctags have this) | 3375 dnl -t for typedefs (many ctags have this) |
3376 dnl -s for static functions (Elvis ctags only?) | 3376 dnl -s for static functions (Elvis ctags only?) |
3377 dnl -v for variables. Dangerous, most ctags take this for 'vgrind style'. | 3377 dnl -v for variables. Dangerous, most ctags take this for 'vgrind style'. |
3378 dnl -i+m to test for older Exuberant ctags | 3378 dnl -i+m to test for older Exuberant ctags |
3379 AC_MSG_CHECKING(how to create tags) | 3379 AC_MSG_CHECKING(how to create tags) |
3380 test -f tags && mv tags tags.save | 3380 test -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 | |
3382 TAGPRG="ctags -I INIT+ --fields=+S" | 3384 TAGPRG="ctags -I INIT+ --fields=+S" |
3383 else | 3385 else |
3384 TAGPRG="ctags" | 3386 TAGPRG="ctags" |
3385 (eval etags /dev/null) < /dev/null 1>&AC_FD_CC 2>&1 && TAGPRG="etags" | 3387 (eval etags /dev/null) < /dev/null 1>&AC_FD_CC 2>&1 && TAGPRG="etags" |
3386 (eval etags -c /dev/null) < /dev/null 1>&AC_FD_CC 2>&1 && TAGPRG="etags -c" | 3388 (eval etags -c /dev/null) < /dev/null 1>&AC_FD_CC 2>&1 && TAGPRG="etags -c" |