From: "Luis R. Rodriguez" Subject: Re: [PATCH v6 10/13] autoconf: xen: move standard path variables to config/Paths.mk.in Date: Tue, 15 Jul 2014 01:42:27 +0200 Message-ID: <20140714234227.GF10393@wotan.suse.de> 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> <1405009018.6015.3.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1X6pt7-0007aS-AX for xen-devel@lists.xenproject.org; Mon, 14 Jul 2014 23:42:29 +0000 Content-Disposition: inline In-Reply-To: <1405009018.6015.3.camel@kazak.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell 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, Jul 10, 2014 at 05:16:58PM +0100, Ian Campbell wrote: > 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. Nope. Luis