From: Ian Campbell Subject: Re: [PATCH 04/24] autoconf: trim the configure script; use autoheader Date: Tue, 17 Apr 2012 10:18:19 +0100 Message-ID: <1334654299.14560.268.camel@zakaz.uk.xensource.com> References: <1334596686-8479-1-git-send-email-ian.jackson@eu.citrix.com> <1334596686-8479-5-git-send-email-ian.jackson@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1334596686-8479-5-git-send-email-ian.jackson@eu.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: Ian Jackson Cc: Roger Pau Monne , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Mon, 2012-04-16 at 18:17 +0100, Ian Jackson wrote: > Remove a lot of unnecessary tests. Specifically, we no longer test > for standard POSIX facilities which we expect to be provided > everywhere and which we don't in any case have any alternative for. A good rule of thumb might be that if it isn't provided by "apt-get install build-essential" (or the common set of stuff from the equivalent meta-packages across common distros) then configure should check for it in the interest of providing a useful upfront error message? > Switch to generating config.h.in with autoheader. > @@ -132,7 +127,7 @@ AC_SUBST(libext2fs) > AC_CHECK_LIB([gcrypt], [gcry_md_hash_buffer], [libgcrypt="y"], [libgcrypt="n"]) > AC_SUBST(libgcrypt) > AX_CHECK_PTHREAD > -AC_CHECK_LIB([rt], [clock_gettime]) -lrt is always available? -l libraries seem to be the ones which tend to differ across platforms, despite being standardised... > +AX_CHECK_PTYFUNCS You don't actually add this until the next patch. Ian.