From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#65142: 30.0.50; configure --without-all does not disable some features Date: Tue, 08 Aug 2023 15:13:59 +0300 Message-ID: <835y5poho8.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36653"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 65142@debbugs.gnu.org To: Ulrich =?UTF-8?Q?M=C3=BCller?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 08 14:14:20 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qTLbQ-0009PI-Fp for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 08 Aug 2023 14:14:20 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qTLbA-0005ZK-NE; Tue, 08 Aug 2023 08:14:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qTLb8-0005YC-UB for bug-gnu-emacs@gnu.org; Tue, 08 Aug 2023 08:14:02 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qTLb8-0005eO-LC for bug-gnu-emacs@gnu.org; Tue, 08 Aug 2023 08:14:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qTLb8-0003uu-4y for bug-gnu-emacs@gnu.org; Tue, 08 Aug 2023 08:14:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 08 Aug 2023 12:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65142 X-GNU-PR-Package: emacs Original-Received: via spool by 65142-submit@debbugs.gnu.org id=B65142.169149682815024 (code B ref 65142); Tue, 08 Aug 2023 12:14:02 +0000 Original-Received: (at 65142) by debbugs.gnu.org; 8 Aug 2023 12:13:48 +0000 Original-Received: from localhost ([127.0.0.1]:35394 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qTLat-0003uG-RS for submit@debbugs.gnu.org; Tue, 08 Aug 2023 08:13:48 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35202) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qTLar-0003ty-H3 for 65142@debbugs.gnu.org; Tue, 08 Aug 2023 08:13:46 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qTLal-0005bN-Vk; Tue, 08 Aug 2023 08:13:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=n12trCVu+4vIXYzOfwiA9esBERhGfWF1JvW/KViUvO8=; b=hZKjZIyX8RqS2rDqumrQ yN8cI6Cv3FNuLAUxCaGuyHVkkbapWdT+ZzkpOjX+CpMv2p1r7Ll2SB8S8UIrlprr/h6PSeKHrLb8H y2WCGIsrjmWMbc2BmrFuaAFXMGCQvPOw9ESvfJMDx5iUp5MiQagVrKJh77Pe5ySDhJzpXQ94SHugS /d0NtrcurwSMmI7rL7oLQ8lbFB9vWxy00cUKhd8GLEZ8jZWqRye7l6FF/eoVudrNuCVIBHgXdmb0J JcMLOJGjUD7sIgBGR/gqOsgN/lGGxjlRqxOlb7GfeFywmKHmcwJw/2LwQA5x0PbD5hpu32a/n5cXx puWfCeAATkWgtQ==; In-Reply-To: (message from Ulrich =?UTF-8?Q?M=C3=BCller?= on Tue, 08 Aug 2023 09:54:20 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:266939 Archived-At: > From: Ulrich Müller > Date: Tue, 08 Aug 2023 09:54:20 +0200 > > Ever since --with-json was changed from using OPTION_DEFAULT_ON to > OPTION_DEFAULT_IFAVAILABLE (commit 43091e6c5069), option --without-all > will no longer disable it. The same applies to --with-tree-sitter. > > $ ./configure --without-all > [...] > Does Emacs use -ljansson? yes > Does Emacs use -ltree-sitter? yes > [...] > > The following patch should fix the problem: Thanks, but the proposed patch affects any option that is by default "ifavailable", doesn't it? If so, the patch is probably good for master, but for the emacs-29 branch I'd prefer a safer change which only affects the above two options. Is that possible?