Fix tree-sitter build using non-bash /bin/sh (bug#59460)

* configure.ac: Don't use '==' in comparisons.

Copyright-paperwork-exempt: yes.
This commit is contained in:
Sam James 2022-11-21 22:01:37 +00:00 committed by Eli Zaretskii
parent 60fac8a5e0
commit 110769d039

View file

@ -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]);