autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [patch] don't discard previous config.log before necessary


From: Lars J. Aas
Subject: Re: [patch] don't discard previous config.log before necessary
Date: Sat, 17 Feb 2001 22:04:01 +0100
User-agent: Mutt/1.2.5i

On Sat, Feb 17, 2001 at 06:58:58PM -0200, Alexandre Oliva wrote:
: On Feb 13, 2001, "Lars J. Aas" <address@hidden> wrote:
: 
: > +rm -f config.log
: > +mv AS_MESSAGE_LOG_NAME config.log
: > +m4_define([AS_MESSAGE_LOG_NAME], [config.log])dnl
: > +exec AS_MESSAGE_LOG_FD>>AS_MESSAGE_LOG_NAME])
: 
: On some systems, you can't rename an open file.
: 
: Add `exec AS_MESSAGE_LOG_FD >& 2' before the `mv' and it should work.

Thanks.

: But I suppose we need some clean-up action for conf-log.tmp.

Yes.  Do you know if configure has many exit points in AC_INIT (so a trap
should be set up) or if it's just the one after option parsing?

: Also, I have a slight preference for the name config.Tlog instead of
: conf-log.tmp.  But maybe it's just me.

No, I'm with you.  I'm just not used to think in those conventions so I
didn't think of that name.  I was never happy with the file name (which is
part of the reason I put it in a define).

  Lars J
-- 
Innovation is one percent inspiration and ninetynine percent perspiration,
and in my case; twice that...  -- Norville Barnes, `The Hudsucker Proxy'



reply via email to

[Prev in Thread] Current Thread [Next in Thread]