From: Ian Jackson Subject: Re: [PATCH RFC] build: add autoconf to replace custom checks in tools/check Date: Tue, 10 Jan 2012 16:42:17 +0000 Message-ID: <20236.27241.232532.154157@mariner.uk.xensource.com> References: <1326110599.17210.81.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1326110599.17210.81.camel@zakaz.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Campbell Cc: Roger Pau Monne , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("Re: [Xen-devel] [PATCH RFC] build: add autoconf to replace custom checks in tools/check"): > On Sat, 2012-01-07 at 03:20 +0000, Roger Pau Monne wrote: > > + # autoheader && autoconf > > What does autoheader do? This should be clearly noted as being only > necessary if building from hg and not if you are building from tarball. > I expect we also need some makefile runes or process updates to make > sure the generated stuff gets included in the tarball. autoheader generates config.h.in, which is processed by configure to make config.h. I think the output of autoconf and autoheader should be committed to the hg tree. It only needs to be rerun when we change the set of things we test for, add features, etc. And it is not very portable. Ian.