Subject: bug#11377: configure.am - fails to remove configure before attempting replacement

From: Stefano Lattarini <[email-masked]>
Date: Tue, 01 May 2012 15:57:05 +0200

tags 11377 + moreinfo
severity 11377 minor
thanks

Hi Ronald, sorry for the delay.

On 04/28/2012 10:55 PM, Ronald F. Guilmette wrote:
> Under certain very reasonable scenarios, the configure file contained within
> some source tree may perhaps be marked as read-only.
>
Before continuing, may I ask you which these scenarios are exactly?

> When and if this occurs,
> automake will fail to remove the configure file before it attempts to generate
> it anew.  The following trivial patch corrects this problem.
> 
> I would really appreciate it if this small patch could be incorporated into
> future releases of automake.  It does no harm, and it can provably do some
> good in certain circumstances.
> 
If you convince me that the circumstances you describe are actually reasonable,
we should also enhance your patch to cover the similar cases of aclocal.m4,
Makefile.in, etc. created read-only (and probably add a test case to ensure
we don't regress with future changes).

Thanks,
  Stefano