emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

feature/tree-sitter 663d768d44 6/7: * configure.ac: Change required tree


From: Yuan Fu
Subject: feature/tree-sitter 663d768d44 6/7: * configure.ac: Change required tree-sitter version to 0.20.2.
Date: Wed, 9 Nov 2022 18:52:05 -0500 (EST)

branch: feature/tree-sitter
commit 663d768d44be150439a58cd858615cac3c1f572f
Author: Yuan Fu <casouri@gmail.com>
Commit: Yuan Fu <casouri@gmail.com>

    * configure.ac: Change required tree-sitter version to 0.20.2.
---
 configure.ac | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/configure.ac b/configure.ac
index 390838acfe..c5f2be6439 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3215,11 +3215,9 @@ HAVE_TREE_SITTER=no
 TREE_SITTER_OBJ=
 
 if test "${with_tree_sitter}" != "no"; then
-   dnl TODO: we should use tree-sitter >= 0.20.2, but right now all
-   dnl tree-sitter libraries distributed are versioned at 0.0, so for
-   dnl the easy of development we'll just leave the version
-   dnl requirement at 0.0 for now.
-  EMACS_CHECK_MODULES([TREE_SITTER], [tree-sitter >= 0.0],
+   dnl Tree-sitter 0.20.2 added support to change the malloc it uses
+   dnl at runtime.
+  EMACS_CHECK_MODULES([TREE_SITTER], [tree-sitter >= 0.20.2],
     [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.])



reply via email to

[Prev in Thread] Current Thread [Next in Thread]