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#75004: 30.0.92; documentation unclear about D-Bus support Date: Sun, 22 Dec 2024 14:18:13 +0200 Message-ID: <861pxz7vy2.fsf@gnu.org> References: <70402.1734743297@alto.camomileplus.org> <87zfkpngys.fsf@gmx.de> <42621.1734821605@alto.camomileplus.org> <87o714nm6o.fsf@gmx.de> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22957"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 75004@debbugs.gnu.org, kupfer@rawbw.com To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 22 13:21:48 2024 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 1tPKxw-0005la-5k for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 22 Dec 2024 13:21:48 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tPKxR-0001qN-44; Sun, 22 Dec 2024 07:21:17 -0500 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 1tPKxC-0001oz-Ll for bug-gnu-emacs@gnu.org; Sun, 22 Dec 2024 07:21:03 -0500 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 1tPKxC-00021H-D3 for bug-gnu-emacs@gnu.org; Sun, 22 Dec 2024 07:21:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=klvaypQfL2X+N6HYp3pnDDgSC+P+bAeSww+o4ERVNvk=; b=kUs8e11jrXR6DLEGKQouNgPinE2FIde8VW/vzocoJ7M/NRnOgnIeKaYu0JOAGFkyv+XcuKfwQO402/zVC9bxU7KYhSkL9gl06p3d4UUTJzmeqqa90tmjfvMAFPMybXAl179OGl8y1L/8RoSSwtdgOLqnVCuUOsues2DPp1RjJGu2Y0Y8ZeTzCb4jnIfGQujdiGeJdkeMAU9wMzixPPbMADpa37FCSoCemz4o8m53Z/ibBLswCIKvVEdhm/LiN0wF51xuvTWZQCmEzbSTcmDYhlcv5P5KbPsSZ/n6gY5y/wPW7Oid5DwjUQo8EL2Qk7MxVlaJXv2+hAOTXoodRj5Gtg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tPKxB-000106-VW for bug-gnu-emacs@gnu.org; Sun, 22 Dec 2024 07:21:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 22 Dec 2024 12:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75004 X-GNU-PR-Package: emacs Original-Received: via spool by 75004-submit@debbugs.gnu.org id=B75004.17348700423809 (code B ref 75004); Sun, 22 Dec 2024 12:21:01 +0000 Original-Received: (at 75004) by debbugs.gnu.org; 22 Dec 2024 12:20:42 +0000 Original-Received: from localhost ([127.0.0.1]:49292 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tPKws-0000zN-At for submit@debbugs.gnu.org; Sun, 22 Dec 2024 07:20:42 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:53432) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tPKwp-0000z7-M6 for 75004@debbugs.gnu.org; Sun, 22 Dec 2024 07:20:41 -0500 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 1tPKua-0001ZO-Fg; Sun, 22 Dec 2024 07:18:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=klvaypQfL2X+N6HYp3pnDDgSC+P+bAeSww+o4ERVNvk=; b=RRVjoIC6G9y5 Rwrd4pWf0cjCQhK/AVC9oG8YTwiXPKChRICoGJpNjfKV+SB566HKJXpeBIOqtBzuYiRCpAaGfdrue UIChzmD9tYJLxqm2Kd4q8VemdsMp2/0xbWOUI9QHGeRR7MR8T+H0kvs7pnv6XBVrbEllvGVf9Wkpb VK0wRPEkJpTnc5Q6ZvlTWkQzNqadVaFKzPXmigvjJqaadBQBu4Jbet6KfHJjE4O48y8O6PHZkNLAi 7ItLxxC4LlSbDUFL3GeZsGsIcbs+OGyDojrb3b/vyEE3PO7HbE1TqLDzjj7IVd/lbUr5Fy5/Y+wAl Q3ueSpjkRLOrJMkOVEzqog==; In-Reply-To: <87o714nm6o.fsf@gmx.de> (bug-gnu-emacs@gnu.org) 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:297596 Archived-At: > Cc: 75004@debbugs.gnu.org > Date: Sun, 22 Dec 2024 09:42:23 +0100 > From: Michael Albinus via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > Mike Kupfer writes: > > > BTW, I was surprised that 'configure' did not error out when I supplied > > --with-dbus (or --with-dbus=yes) on the command line. I expect > > 'configure' to disable a feature (and exit with status 0) if the feature > > can't be provided and wasn't explicitly requested, but I thought the > > inability to provide a specifically requested feature was considered an > > error. Am I misunderstanding how 'configure' is supposed to work? > > I'm not an expert in this department. Eli? This is not magic, and needs to be explicitly coded in configure.ac. The --with-dbus option doesn't have such code, and basically turns on D-Bus support only if available; otherwise it silently turns it off. If we want to have --with-dbus error out, we need to change the default of --with-dbus to "ifavailable', since otherwise many people who don't want D-Bus or don't have it installed (or build Emacs on platforms where D-Bus is unavailable) will get errors where previously they didn't.