Subject: Re: bug#65123: 29.1; Build fails with "configure --without-all --with-tree-sitter"
From: Eli Zaretskii <[email-masked]>
To: Ulrich Mueller <[email-masked]>
Cc: [email-masked]
Date: Mon, 07 Aug 2023 16:21:15 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

> From: Ulrich Mueller <[email-masked]>
> Cc: [email-masked]
> Date: Mon, 07 Aug 2023 15:02:43 +0200
> 
> >>>>> On Mon, 07 Aug 2023, Eli Zaretskii wrote:
> 
> > Thanks.  Does the patch below fix this?
> 
> > diff --git a/configure.ac b/configure.ac
> > index 5dd182a..ab401be 100644
> > --- a/configure.ac
> > +++ b/configure.ac
> > @@ -3254,6 +3254,7 @@ AC_DEFUN
> >      [HAVE_TREE_SITTER=yes], [HAVE_TREE_SITTER=no])
> >    if test "${HAVE_TREE_SITTER}" = yes; then
> >      AC_DEFINE(HAVE_TREE_SITTER, 1, [Define if using tree-sitter.])
> > +    NEED_DYNLIB=yes
> >    else
> >      EMACS_CHECK_MODULES([TREE_SITTER], [tree-sitter >= 0.6.3],
> >        [HAVE_TREE_SITTER=yes], [HAVE_TREE_SITTER=no])
> 
> Thanks, this fixes the problem for me.

Thanks, installed on the emacs-29 branch, and closing the bug.