From: Ian Campbell Subject: Re: [PATCH v5] build: add autoconf to replace custom checks in tools/check Date: Tue, 21 Feb 2012 10:07:04 +0000 Message-ID: <1329818824.25232.66.camel@dagon.hellion.org.uk> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 Monne Cc: Ian Jackson , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org 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. > +# Checks for header files. > +AC_FUNC_ALLOCA > +AC_CHECK_HEADERS([ \ > + arpa/inet.h fcntl.h inttypes.h libintl.h limits.h malloc.h \ > + netdb.h netinet/in.h stddef.h stdint.h stdlib.h string.h \ > + strings.h sys/file.h sys/ioctl.h sys/mount.h sys/param.h \ > + sys/socket.h sys/statvfs.h sys/time.h syslog.h termios.h \ > + unistd.h yajl/yajl_version.h \ > + ])