Return-Path: Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 2426 invoked by uid 500); 27 Feb 2001 12:45:22 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 2415 invoked from network); 27 Feb 2001 12:45:21 -0000 From: Jim Jagielski Message-Id: <200102271245.HAA02446@devsys.jaguNET.com> Subject: Re: cvs commit: apr/build apr_common.m4 To: dev@apr.apache.org Date: Tue, 27 Feb 2001 07:45:18 -0500 (EST) Reply-To: jim@jaguNET.com In-Reply-To: <20010227113451.95526.qmail@apache.org> from "gstein@apache.org" at Feb 27, 2001 11:34:51 AM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N gstein@apache.org wrote: > > gstein 01/02/27 03:34:50 > > Modified: . configure.in > build apr_common.m4 > Log: > * configure.in: just call APR_FLAG_HEADERS once. This allows autoconf to > loop over the values *once* rather than substituting N loops for header > checking. This drops configure's size from 340k down to 255k. (!!!) > :) That was on my list, but I was taking things slow. That's why I coded it the way I did ;) Note that we'll be able to do the same with APR_FLAG_FUNCS as well, when it's appropriate. The final tune, maybe, will be to avoid the actual call to AC_CHECK_HEADERS and hand-code it in, since AC_CHECK_HEADERS has it's own for/do loop, which we aren't using. There's a part of me that's hesitant about doing that... although it makes the configure script a bit uglier, it make it obvious how we are using AC_CHECK_HEADERS. -- =========================================================================== Jim Jagielski [|] jim@jaguNET.com [|] http://www.jaguNET.com/ "Hell is hot, that's never been disputed by anybody."