comparison src/configure.in @ 2815:e4403440e192 v7.3.183

updated for version 7.3.183 Problem: When Exuberant ctags binary is exuberant-ctags it's not found. Solution: Add configure check for exuberant-ctags.
author Bram Moolenaar <bram@vim.org>
date Tue, 10 May 2011 15:42:03 +0200
parents 94f42ae4e4e6
children 6bbdb9c7a425
comparison
equal deleted inserted replaced
2814:09e8e1019319 2815:e4403440e192
3373 dnl -s for static functions (Elvis ctags only?) 3373 dnl -s for static functions (Elvis ctags only?)
3374 dnl -v for variables. Dangerous, most ctags take this for 'vgrind style'. 3374 dnl -v for variables. Dangerous, most ctags take this for 'vgrind style'.
3375 dnl -i+m to test for older Exuberant ctags 3375 dnl -i+m to test for older Exuberant ctags
3376 AC_MSG_CHECKING(how to create tags) 3376 AC_MSG_CHECKING(how to create tags)
3377 test -f tags && mv tags tags.save 3377 test -f tags && mv tags tags.save
3378 if (eval exctags --version /dev/null | grep Exuberant) < /dev/null 1>&AC_FD_CC 2>&1; then 3378 if (eval ctags --version /dev/null | grep Exuberant) < /dev/null 1>&AC_FD_CC 2>&1; then
3379 TAGPRG="ctags -I INIT+ --fields=+S"
3380 elif (eval exctags --version /dev/null | grep Exuberant) < /dev/null 1>&AC_FD_CC 2>&1; then
3379 TAGPRG="exctags -I INIT+ --fields=+S" 3381 TAGPRG="exctags -I INIT+ --fields=+S"
3380 elif (eval ctags --version /dev/null | grep Exuberant) < /dev/null 1>&AC_FD_CC 2>&1; then 3382 elif (eval exuberant-ctags --version /dev/null | grep Exuberant) < /dev/null 1>&AC_FD_CC 2>&1; then
3381 TAGPRG="ctags -I INIT+ --fields=+S" 3383 TAGPRG="exuberant-ctags -I INIT+ --fields=+S"
3382 else 3384 else
3383 TAGPRG="ctags" 3385 TAGPRG="ctags"
3384 (eval etags /dev/null) < /dev/null 1>&AC_FD_CC 2>&1 && TAGPRG="etags" 3386 (eval etags /dev/null) < /dev/null 1>&AC_FD_CC 2>&1 && TAGPRG="etags"
3385 (eval etags -c /dev/null) < /dev/null 1>&AC_FD_CC 2>&1 && TAGPRG="etags -c" 3387 (eval etags -c /dev/null) < /dev/null 1>&AC_FD_CC 2>&1 && TAGPRG="etags -c"
3386 (eval ctags /dev/null) < /dev/null 1>&AC_FD_CC 2>&1 && TAGPRG="ctags" 3388 (eval ctags /dev/null) < /dev/null 1>&AC_FD_CC 2>&1 && TAGPRG="ctags"