mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 17:32:19 +00:00
Add autoconf check for the version of etags we have detected, and select
appropriate "force C++" command-line option. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10963 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
afa3fbf750
commit
027b746853
@ -169,6 +169,14 @@ AC_PROG_LIBTOOL
|
|||||||
dnl Checks for tools we can get away with not having:
|
dnl Checks for tools we can get away with not having:
|
||||||
AC_PATH_PROG(DOT,[dot],[true dot])
|
AC_PATH_PROG(DOT,[dot],[true dot])
|
||||||
AC_PATH_PROG(ETAGS,[etags],[true etags])
|
AC_PATH_PROG(ETAGS,[etags],[true etags])
|
||||||
|
dnl Check if we know how to tell etags we are using C++:
|
||||||
|
etags_version=`$ETAGS --version 2>&1`
|
||||||
|
case "$etags_version" in
|
||||||
|
*[Ee]xuberant*) ETAGSFLAGS="--language-force=c++" ;;
|
||||||
|
*GNU\ Emacs*) ETAGSFLAGS="-l c++" ;;
|
||||||
|
*) ETAGSFLAGS="" ;;
|
||||||
|
esac
|
||||||
|
AC_SUBST(ETAGSFLAGS,$ETAGSFLAGS)
|
||||||
AC_PATH_PROG(PYTHON,[python],[true python])
|
AC_PATH_PROG(PYTHON,[python],[true python])
|
||||||
if test "$PYTHON" = "false"
|
if test "$PYTHON" = "false"
|
||||||
then
|
then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user