diff options
author | Sam James <sam@gentoo.org> | 2022-11-21 22:01:37 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2022-11-22 14:45:09 +0200 |
commit | 110769d039f1e5d12b948fade23563b3e540cff3 (patch) | |
tree | 4819fdee9d6d76f024ac20af98f77e46efa4cc47 /configure.ac | |
parent | 60fac8a5e02983e3bf3103dbeb9af5214aa8f694 (diff) | |
download | emacs-110769d039f1e5d12b948fade23563b3e540cff3.tar.gz |
Fix tree-sitter build using non-bash /bin/sh (bug#59460)
* configure.ac: Don't use '==' in comparisons.
Copyright-paperwork-exempt: yes.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 187a43dc3e5..cc4e59ee5ac 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]); |