[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#65123: 29.1; Build fails with "configure --without-all --with-tree-s
From: |
Ulrich Mueller |
Subject: |
bug#65123: 29.1; Build fails with "configure --without-all --with-tree-sitter" |
Date: |
Mon, 07 Aug 2023 15:02:43 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
>>>>> On Mon, 07 Aug 2023, Eli Zaretskii wrote:
>> From: Ulrich Mueller <ulm@gentoo.org>
>> Date: Mon, 07 Aug 2023 12:44:38 +0200
>>
>> Forwarding downstream bug: https://bugs.gentoo.org/911826
>>
>> Linking of temacs fails with undefined references to symbols
>> dynlib_error, dynlib_open and dynlib_sym when using configure options
>> --without-all --with-tree-sitter. To reproduce:
> Thanks. Does the patch below fix this?
> diff --git a/configure.ac b/configure.ac
> index 5dd182a..ab401be 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -3254,6 +3254,7 @@ AC_DEFUN
> [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.])
> + NEED_DYNLIB=yes
> else
> EMACS_CHECK_MODULES([TREE_SITTER], [tree-sitter >= 0.6.3],
> [HAVE_TREE_SITTER=yes], [HAVE_TREE_SITTER=no])
Thanks, this fixes the problem for me.