From: Ian Campbell Subject: Re: libxen build warnings due to empty XML2_CONFIG or CURL_CONFIG Date: Thu, 22 Nov 2012 14:11:06 +0000 Message-ID: <1353593466.13542.158.camel@zakaz.uk.xensource.com> References: <20121122135603.GA13807@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20121122135603.GA13807@aepfle.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: Olaf Hering Cc: "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Thu, 2012-11-22 at 13:56 +0000, Olaf Hering wrote: > If XML2_CONFIG or CURL_CONFIG is empty, make in tools/libxen will print > an error 'make[3]: --cflags: Command not found'. I think a simple way to > fix this is: > shell test -n "$(XML2_CONFIG)" ; then $(XML2_CONFIG) --cflags ; fi XML2_CONFIG/CURL_CONFIG comes from configure.ac so if it is empty things should be arranged such that either configure fails or libxen isn't built, probably the second options. Does anyone even use libxen? AFAIK it targets the incomplete 0.X version of the XenAPI which xend half implements. Ian.