Subject: Re: config.status.overriden on solaris
To: Mark Davies <mark@mcs.vuw.ac.nz>
From: Johnny C. Lam <jlam@buildlink.org>
List: tech-pkg
Date: 02/27/2004 19:31:03
On Thu, Feb 26, 2004 at 03:14:56PM +1300, Mark Davies wrote:
> 	From:  "Johnny C. Lam" <jlam@NetBSD.org>
> 	Date:  Thu, 26 Feb 2004 00:43:53 +0000
> 
> > The reason that the generated config.status file sources the overridden
> > file instead of executing is is so that the overridden script can
> > transparently use the same argument list.  If the above patch is applied,
> > the overridden script will know it's called config.status.overridden and
> > will be able to bypass config.status when calling --recheck.  Could you
> > test the attached patch instead?
> 
> Didn't work for my case:
> 
> 	[...]
> fast creating man/Makefile
> fast creating po/Makefile
> config.status: creating config.h
> config.status: executing depfiles commands
> ===> Building for kbiff-3.7
> cd . && /bin/ksh ./config.status Makefile
> config.status: error: invalid argument: Makefile
> gmake: *** [Makefile] Error 1
> *** Error code 2

I've committed a different version of the patch that's tested to work
with configure scripts generated by autoconf>=2.13 (my original one
only worked for autoconf>=2.50).  Does the committed fix still fail
for kbiff?

	Cheers,

	-- Johnny Lam <jlam@buildlink.org>