patch 9.1.1589: Cannot disable cscope interface using configure
Problem: Cannot disable cscope interface using configure, because in
feature.h FEAT_CSCOPE will always be enabled for huge builds
(chdiza)
Solution: Don't define FEAT_CSCOPE from configure script but set the
ENABLE_CSCOPE flag and check for the presence of that flag in
feature.h
fixes: #17825
closes: #17842
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
@ -2168,10 +2168,10 @@ AC_SUBST(RUBY_LIBS)
|
||||
AC_MSG_CHECKING(--enable-cscope argument)
|
||||
AC_ARG_ENABLE(cscope,
|
||||
[ --enable-cscope Include cscope interface.], ,
|
||||
[enable_cscope="no"])
|
||||
[enable_cscope="yes"])
|
||||
AC_MSG_RESULT($enable_cscope)
|
||||
if test "$enable_cscope" = "yes"; then
|
||||
AC_DEFINE(FEAT_CSCOPE)
|
||||
AC_DEFINE(ENABLE_CSCOPE)
|
||||
fi
|
||||
|
||||
AC_MSG_CHECKING(--disable-netbeans argument)
|
||||
|
||||
Reference in New Issue
Block a user