From: Ian Campbell Subject: Re: [PATCH v6 10/13] autoconf: xen: move standard path variables to config/Paths.mk.in Date: Fri, 4 Jul 2014 15:36:00 +0100 Message-ID: <1404484560.14796.35.camel@kazak.uk.xensource.com> References: <1402622331-4282-1-git-send-email-mcgrof@do-not-panic.com> <1402622331-4282-11-git-send-email-mcgrof@do-not-panic.com> <1404308054.5562.82.camel@kazak.uk.xensource.com> <20140703185343.GI27687@wotan.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1X34ar-0000Gr-Mo for xen-devel@lists.xenproject.org; Fri, 04 Jul 2014 14:36:05 +0000 In-Reply-To: <20140703185343.GI27687@wotan.suse.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: "Luis R. Rodriguez" Cc: Keir Fraser , "Luis R. Rodriguez" , Tim Deegan , Ian Jackson , Jan Beulich , Samuel Thibault , xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org On Thu, 2014-07-03 at 20:53 +0200, Luis R. Rodriguez wrote: > On Wed, Jul 02, 2014 at 02:34:14PM +0100, Ian Campbell wrote: > > On Thu, 2014-06-12 at 18:18 -0700, Luis R. Rodriguez wrote: > > > From: "Luis R. Rodriguez" > > > +LIBDIR=`eval echo $libdir` > > > > Why is this one an eval? > > BTW I now see why I had used the eval on LIBDIR, its because otherwise Paths.mk > ends up with: > > LIBDIR := ${exec_prefix}/lib64 > ... > PRIVATE_PREFIX := ${exec_prefix}/lib64/xen > PRIVATE_PREFIX := ${exec_prefix}/lib64/xen > PRIVATE_BINDIR := ${exec_prefix}/lib64/xen/bin > ... > > Can I upkeep the eval? Seems a bit odd that this would only affect LIBDIR and not PREFIX. I'd like to understand why this happens before reaching for the eval (or to see some autoconf documentation that claims this is the right thing to do). Ian.