From cda103185aef6d0b754ccd25baee956d46b79898 Mon Sep 17 00:00:00 2001 From: Sam James Date: Mon, 21 Nov 2022 22:01:37 +0000 Subject: [PATCH] Fix tree-sitter build using non-bash /bin/sh --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 187a43dc3e..cc4e59ee5a 100644 --- a/configure.ac +++ b/configure.ac @@ -3243,7 +3243,7 @@ if test "${with_tree_sitter}" != "no"; then AC_CHECK_FUNCS([ts_set_allocator]) CFLAGS=$OLD_CFLAGS LIBS=$OLD_LIBS - if test "$ac_cv_func_ts_set_allocator" == yes; then + if test "$ac_cv_func_ts_set_allocator" = yes; then AC_DEFINE(HAVE_TREE_SITTER, 1, [Define if using tree-sitter.]) else AC_MSG_ERROR([Tree-sitter library exists but its version is too old]); -- 2.38.1