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.devel Subject: Re: Path for system-wide .eln files Date: Tue, 01 Sep 2020 09:16:48 +0200 Message-ID: References: <83o8qocd32.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="10150"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Cc: Andrea Corallo , Eli Zaretskii , Paul Eggert , Stefan Monnier , "Andrea Corallo via Emacs development discussions." To: Yuri Khan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Sep 01 09:17:46 2020 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 1kD0Y6-0002Xe-DC for ged-emacs-devel@m.gmane-mx.org; Tue, 01 Sep 2020 09:17:46 +0200 Original-Received: from localhost ([::1]:53662 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kD0Y5-0002TF-Fg for ged-emacs-devel@m.gmane-mx.org; Tue, 01 Sep 2020 03:17:45 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55716) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kD0XL-0001ef-0b for emacs-devel@gnu.org; Tue, 01 Sep 2020 03:16:59 -0400 Original-Received: from smtp.gentoo.org ([2001:470:ea4a:1:5054:ff:fec7:86e4]:42107) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kD0XI-0007X7-Gp; Tue, 01 Sep 2020 03:16:58 -0400 In-Reply-To: (Yuri Khan's message of "Tue, 1 Sep 2020 11:28:53 +0700") Received-SPF: pass client-ip=2001:470:ea4a:1:5054:ff:fec7:86e4; envelope-from=ulm@gentoo.org; helo=smtp.gentoo.org X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/01 03:16:54 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:254468 Archived-At: >>>>> On Tue, 01 Sep 2020, Yuri Khan wrote: >> > AFAIU `/usr/libexec` would be for binaries in general, infact we store >> > there the pdumper img. Okay for `/usr/lib`. >> >> It should be ${libdir} I think? That is, "lib64" on 64-bit systems. > I am on a 64-bit system and my /usr/lib64 is empty except for a single > ld-linux-x86-64.so.2 symlink. On the other hand, /usr/lib32 contains a > number of shared objects belonging to the libc6-i386 package. This > tells me maybe native bitness belongs in /usr/lib. I should have been more precise. It is in fact distro specific, so there may be 64-bit systems where the native libs are installed in /usr/lib (and 32-bit libs would go to /usr/lib32), while others install the native libs in /usr/lib64. So the right thing to do is to use configure's ${libdir}.