]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix tree-sitter build using non-bash /bin/sh (bug#59460)
authorSam James <sam@gentoo.org>
Mon, 21 Nov 2022 22:01:37 +0000 (22:01 +0000)
committerEli Zaretskii <eliz@gnu.org>
Tue, 22 Nov 2022 12:45:09 +0000 (14:45 +0200)
* configure.ac: Don't use '==' in comparisons.

Copyright-paperwork-exempt: yes.

configure.ac

index 187a43dc3e5cf95968ce7f7ff76b0fdf8a35da34..cc4e59ee5acb2dac4b0e188514886abcbc47c8a5 100644 (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]);