]> git.eshelyaron.com Git - emacs.git/commitdiff
* configure.ac: Change required tree-sitter version to 0.20.2.
authorYuan Fu <casouri@gmail.com>
Wed, 9 Nov 2022 22:48:07 +0000 (14:48 -0800)
committerYuan Fu <casouri@gmail.com>
Wed, 9 Nov 2022 23:51:13 +0000 (15:51 -0800)
configure.ac

index 390838acfe50489f756746cb9ea807467dc3975d..c5f2be64399797564a47c5a6fcfa42e4f07e32aa 100644 (file)
@@ -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.])