On Tue, Sep 21, 2004 at 12:28:52PM -0700, Justin Erenkrantz wrote: > --On Monday, September 20, 2004 12:12 PM +0000 [EMAIL PROTECTED] 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
