From: Ian Campbell Subject: Re: libutil.h moved to bsd/libutil.h (Was: Re: [Xen-users] Problem compiling Xen 4.2 from sources) Date: Mon, 8 Oct 2012 12:19:48 +0100 Message-ID: <1349695188.18008.107.camel@zakaz.uk.xensource.com> References: <20121002163136.GA5378@intersect> <1349196417.650.115.camel@zakaz.uk.xensource.com> <506BF7FD.4000707@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <506BF7FD.4000707@citrix.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: Roger Pau Monne Cc: "xen-users@lists.xen.org" , Ian Jackson , Giorgio Mossa , xen-devel List-Id: xen-devel@lists.xenproject.org On Wed, 2012-10-03 at 09:31 +0100, Roger Pau Monne wrote: > From 250c0d533bab3c9705ade8e4bffed54abcb53b1c Mon Sep 17 00:00:00 2001 > From: Roger Pau Monne > Date: Wed, 3 Oct 2012 10:22:21 +0200 > Subject: [PATCH] autoconf: add -Werror to libutil.h header check > > libutil.h is only needed on BSDs, but not in Linux. Debian package > libbsd-dev-0.3.0-1 installed a libutil.h overlay that contains a > #warning, thus making libxl compilation broken due to -Werror. > > Perform the libutil.h check with -Werror, so we don't include this > bogus header. > > Signed-off-by: Roger Pau Monne Acked-by: Ian Campbell and applied. Arguably, since we compile with -Werror we should run configure with it too -- but I bet the fallout from doing that would be horrific though! Ian.