From: Ian Campbell Subject: Re: [PATCH] tools: disable xend build by default Date: Thu, 12 Sep 2013 15:05:36 +0100 Message-ID: <1378994736.10076.66.camel@kazak.uk.xensource.com> References: <1378982052-11270-1-git-send-email-ian.campbell@citrix.com> <1378982177.10076.40.camel@kazak.uk.xensource.com> <21041.48033.339850.370761@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <21041.48033.339850.370761@mariner.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 Jackson Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Thu, 2013-09-12 at 14:03 +0100, Ian Jackson wrote: > Ian Campbell writes ("Re: [PATCH] tools: disable xend build by default"): > > On Thu, 2013-09-12 at 11:34 +0100, Ian Campbell wrote: > > > > This will need an osstest change: > ... > > buildcmd_stamped_logged(300, 'configure', < > if test -f configure; then > > + if grep -q -- --enable-xend ; then > > + enable_xend=--enable-xend > > + fi > > Have you tested this ? The grep seems to be missing the filename... In a shell, from which I failed to cut-n-paste correctly... Sorry. I also failed to quote $enable_xend correctly in the subsequent line :-( The following has been tested as far as running configure both with and without the relevant patch and is observed to pass the correct arguments. 8<----------------------------- >From 3839f9fff0f313c4bb556daaa92f9b069b7bab3d Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Thu, 12 Sep 2013 11:33:40 +0100 Subject: [PATCH] ts-xen-build: enable xend at configure time if necessary --- ts-xen-build | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ts-xen-build b/ts-xen-build index a600fe5..0304993 100755 --- a/ts-xen-build +++ b/ts-xen-build @@ -115,8 +115,11 @@ sub build () { END buildcmd_stamped_logged(300, 'configure', <