From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ulrich Mueller Newsgroups: gmane.emacs.bugs Subject: bug#65142: 30.0.50; configure --without-all does not disable some features Date: Tue, 08 Aug 2023 16:41:40 +0200 Message-ID: References: <835y5poho8.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28954"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 65142@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 08 16:42:12 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 1qTNuW-0007Ps-9H for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 08 Aug 2023 16:42:12 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qTNuO-0006RK-48; Tue, 08 Aug 2023 10:42:04 -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 1qTNuM-0006Qx-GD for bug-gnu-emacs@gnu.org; Tue, 08 Aug 2023 10:42: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 1qTNuM-0007iQ-8C for bug-gnu-emacs@gnu.org; Tue, 08 Aug 2023 10:42:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qTNuM-0005Ny-4H for bug-gnu-emacs@gnu.org; Tue, 08 Aug 2023 10:42:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ulrich Mueller Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 08 Aug 2023 14:42: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.169150571220685 (code B ref 65142); Tue, 08 Aug 2023 14:42:02 +0000 Original-Received: (at 65142) by debbugs.gnu.org; 8 Aug 2023 14:41:52 +0000 Original-Received: from localhost ([127.0.0.1]:37448 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qTNuC-0005NZ-HZ for submit@debbugs.gnu.org; Tue, 08 Aug 2023 10:41:52 -0400 Original-Received: from mail.gentoo.org ([2001:470:ea4a:1:5054:ff:fec7:86e4]:43183 helo=smtp.gentoo.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qTNuA-0005NJ-Uu for 65142@debbugs.gnu.org; Tue, 08 Aug 2023 10:41:51 -0400 In-Reply-To: <835y5poho8.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 08 Aug 2023 15:13:59 +0300") 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:266966 Archived-At: >>>>> On Tue, 08 Aug 2023, Eli Zaretskii wrote: > 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? I had aimed for the master branch. :) It should also be o.k. for emacs-29, because json and tree-sitter are the only options that use OPTION_DEFAULT_IFAVAILABLE: $ grep OPTION_DEFAULT_IFAVAILABLE configure.ac dnl OPTION_DEFAULT_IFAVAILABLE(NAME, HELP-STRING) AC_DEFUN([OPTION_DEFAULT_IFAVAILABLE], [dnl OPTION_DEFAULT_IFAVAILABLE([json], [compile with native JSON support]) OPTION_DEFAULT_IFAVAILABLE([tree-sitter], [compile with tree-sitter]) A diff of the generated configure file with and without the patch confirms that no other option defaults are changed. (There are other options that can have "ifavailable" as their value, but none of them uses the macro that is patched.)