From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Alfred M. Szmidt" Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Re: etags name collision. Date: Tue, 12 Apr 2022 03:16:04 -0400 Message-ID: References: <20220411124736.3qijvtearh6wlen7@Ergus> <83pmln69n0.fsf@gnu.org> <20220411134749.ps6g5ulpbamzm6ot@Ergus> <83k0bv679q.fsf@gnu.org> <20220411154635.qfw2ijpdahiv5ctl@Ergus> <83fsmj62jl.fsf@gnu.org> <20220411161942.xsqr3ekorpm6jf6y@Ergus> <83ee2360aq.fsf@gnu.org> <20220411191933.wyxvmgpyd4hnpfc2@Ergus> <20220411195350.7jhugti3e3vng6yx@Ergus> <835ynf592m.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4259"; mail-complaints-to="usenet@ciao.gmane.io" Cc: spacibba@aol.com, ulm@gentoo.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Apr 12 09:20:36 2022 Return-path: Envelope-to: ged-emacs-devel@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 1neApI-0000to-9u for ged-emacs-devel@m.gmane-mx.org; Tue, 12 Apr 2022 09:20:36 +0200 Original-Received: from localhost ([::1]:60312 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1neApH-0002nH-3p for ged-emacs-devel@m.gmane-mx.org; Tue, 12 Apr 2022 03:20:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50756) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1neAlT-0007mq-Lc for emacs-devel@gnu.org; Tue, 12 Apr 2022 03:16:41 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:59322) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1neAlT-0005N4-AF; Tue, 12 Apr 2022 03:16:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From: mime-version; bh=3ahMH7yhBASab3aQK1BloTYMW4gYjZfQBpW+3Jbal38=; b=Tgbbi04hXVvV 0oOQg8jYA8Cx+qxP/8awBHX35AtU8+9Ow/lIAZ5THSYdgRRBpPv3b4E97Gdljkm1CxJ5vYneOmT8i TL1jl1W7JPOKgndWfruwmUTim+pzxnH9qD1LyHcD6PDxteljzf+26liVRHz4RQ/CeBNDG2eyJwEW0 OJ/2k1j7mvoe+1SAmHo84bTJisVQYTyiKioYRUqIw6XGVD27frtqenvKCASNQdNiIeh/lvEUmMo8Z cJEBM7yYUWMSwyqm0zrs1nKcp6pkWSPn2oriyPBC+UWHiMQcmtGJamCVQlM8m14ynkXmr613irmKV ct8qEDXZDCIHahVlyy/u/g==; Original-Received: from ams by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1neAku-0004xA-Sq; Tue, 12 Apr 2022 03:16:10 -0400 In-Reply-To: <835ynf592m.fsf@gnu.org> (message from Eli Zaretskii on Tue, 12 Apr 2022 05:28:33 +0300) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:288271 Archived-At: > >> + fi]) > >> +if test "$with_ctags" = no; then > >> + with_ctags= > >> +fi > > > >I still think that any test for an installed binary is a bad idea, from > >a distro point of view. Note that distros typically build packages in an > >environment that is different from the one of the final target system. > > > Here I agree How else to test whether this is needed? I'm okay with having "--without-ctags" with no test, but then the default will have to be to install our ctags. With the test, we could refrain from installing it if the test says so. I think that is a good idea. The ones suggesting to "DWIM" magic are prone for error and confusion, if you _really_ need to install ctags (or etags) as something else, ./configure already supports the means for that.