From: Ian Campbell Subject: Re: [PATCH v5] build: add autoconf to replace custom checks in tools/check Date: Tue, 21 Feb 2012 11:06:04 +0000 Message-ID: <1329822364.25232.87.camel@dagon.hellion.org.uk> References: <1329818824.25232.66.camel@dagon.hellion.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: 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 =?ISO-8859-1?Q?Monn=E9?= Cc: Ian Jackson , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Tue, 2012-02-21 at 10:17 +0000, Roger Pau Monn=E9 wrote: > 2012/2/21 Ian Campbell : > > On Mon, 2012-02-20 at 22:18 +0000, Roger Pau Monne wrote: > >> > >> +# Autoscan stuff (except for yajl/yajl_version.h check) > > > > I don't understand this comment, the following AC_CHECK_HEADERS _does_ > > check for yajl_version. > = > Sorry, the comment is misleading, what I mean is that everything here > is detected by autoscan, except for the yajl_version.h test that I've > added myself. Should I change the comment? I'd be tempted to just remove it. No one will update it when they add another check not covered by autoscan. > > > >> +# Checks for header files. > >> +AC_FUNC_ALLOCA > >> +AC_CHECK_HEADERS([ \ > >> + arpa/inet.h fcntl.h inttypes.h libintl.h limits.h mal= loc.h \ > >> + netdb.h netinet/in.h stddef.h stdint.h stdlib.h strin= g.h \ > >> + strings.h sys/file.h sys/ioctl.h sys/mount.h sys/para= m.h \ > >> + sys/socket.h sys/statvfs.h sys/time.h syslog.h termio= s.h \ > >> + unistd.h yajl/yajl_version.h \ > >> + ]) > >