Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 17031 invoked from network); 21 Sep 2004 20:06:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 21 Sep 2004 20:06:04 -0000 Received: (qmail 8538 invoked by uid 500); 21 Sep 2004 20:05:58 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 8382 invoked by uid 500); 21 Sep 2004 20:05:57 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 8368 invoked by uid 99); 21 Sep 2004 20:05:57 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of jorton@redhat.com designates 66.187.233.31 as permitted sender) Received: from [66.187.233.31] (HELO mx1.redhat.com) (66.187.233.31) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 21 Sep 2004 13:05:56 -0700 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.10) with ESMTP id i8LK5qH0010776 for ; Tue, 21 Sep 2004 16:05:52 -0400 Received: from radish.cambridge.redhat.com (radish.cambridge.redhat.com [172.16.18.90]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i8LK5qr29678 for ; Tue, 21 Sep 2004 16:05:52 -0400 Received: from radish.cambridge.redhat.com (localhost.localdomain [127.0.0.1]) by radish.cambridge.redhat.com (8.12.10/8.12.7) with ESMTP id i8LK5pNE009808 for ; Tue, 21 Sep 2004 21:05:51 +0100 Received: (from jorton@localhost) by radish.cambridge.redhat.com (8.12.10/8.12.10/Submit) id i8LK5oZt009807 for dev@httpd.apache.org; Tue, 21 Sep 2004 21:05:50 +0100 Date: Tue, 21 Sep 2004 21:05:50 +0100 From: Joe Orton To: dev@httpd.apache.org Subject: Re: cvs commit: httpd-2.0 configure.in Message-ID: <20040921200550.GA9777@redhat.com> Mail-Followup-To: dev@httpd.apache.org References: <20040920121201.38364.qmail@minotaur.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Tue, Sep 21, 2004 at 12:28:52PM -0700, Justin Erenkrantz wrote: > --On Monday, September 20, 2004 12:12 PM +0000 jorton@apache.org wrote: > > >jorton 2004/09/20 05:12:01 > > > > Modified: . configure.in > > Log: > > * configure.in: Ensure that $CC and $CPP are correctly passed through > > to the pcre configure script if config caching is disabled (the > > autoconf 2.5x default). > > FWIW, this commit breaks the build when a cache file is used. Darn, sorry. > So, can we find a better solution? I think $cache_file points to the cache > file, but by default it is set to /dev/null - other parts of autoconf seem > to use test -r, so perhaps something like: > > if test ! -r "$cache_file"; then > export CC; export CPP > fi I think just testing for $cache_file = /dev/null is simplest. That still fixes my problem and seems to work OK with a cache file specified too. I've committed that, let's see what breaks now ;) joe