From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gnu.wildebeest.org (gnu.wildebeest.org [45.83.234.184]) by sourceware.org (Postfix) with ESMTPS id 01D8238460B3 for ; Wed, 29 Jun 2022 18:33:22 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 01D8238460B3 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=klomp.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=klomp.org Received: from reform (deer0x0e.wildebeest.org [172.31.17.144]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gnu.wildebeest.org (Postfix) with ESMTPSA id AB70230005B6; Wed, 29 Jun 2022 20:33:19 +0200 (CEST) Received: by reform (Postfix, from userid 1000) id 3D8B12E83459; Wed, 29 Jun 2022 20:33:19 +0200 (CEST) Date: Wed, 29 Jun 2022 20:33:19 +0200 From: Mark Wielaard To: "Frank Ch. Eigler" Cc: elfutils-devel@sourceware.org Subject: Re: [PATCH] config: Remove unnecessary setting/unsetting of prefix in profiles Message-ID: References: <20220629164819.18486-1-mark@klomp.org> <20220629172904.GB30593@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220629172904.GB30593@redhat.com> X-Spam-Status: No, score=-5.6 required=5.0 tests=BAYES_00, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: elfutils-devel@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Elfutils-devel mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jun 2022 18:33:23 -0000 Hi Frank, On Wed, Jun 29, 2022 at 01:29:04PM -0400, Frank Ch. Eigler wrote: > > In both profile.csh.in and profile.sh.in we set and then unset > > prefix, but never use it. > > It is used, because the autoconf @sysconfdir@ macro expands to a > string like "$prefix/...", which requires the shell variable $prefix > to be set. O, I see. Indeed the default is '${prefix}/etc'. But I never saw that because in a package install configure is called with everything expanded [*]. Should have tried by hand. Patch retracted. Thanks, Mark [*] --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info