From: Ian Campbell Subject: Re: [PATCH v6 10/13] autoconf: xen: move standard path variables to config/Paths.mk.in Date: Thu, 10 Jul 2014 17:16:58 +0100 Message-ID: <1405009018.6015.3.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> <1404484560.14796.35.camel@kazak.uk.xensource.com> <20140708185218.GP27687@wotan.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1X5H4s-0007r5-6l for xen-devel@lists.xenproject.org; Thu, 10 Jul 2014 16:20:10 +0000 In-Reply-To: <20140708185218.GP27687@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 Tue, 2014-07-08 at 20:52 +0200, Luis R. Rodriguez wrote: > On Fri, Jul 04, 2014 at 03:36:00PM +0100, Ian Campbell wrote: > > 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. > > Yeah I tested this, the substitution does not happen even if I use > AC_SUBST(exec_prefix). @exec_prefix@ isn't substituted if you use AC_SUBST(exec_prefix)? Ouch. Ian.