Message-Id: <199803190954.LAA48010@ieva06.lanet.lv> From: "Andris Pavenis" To: Vik Heyndrickx Date: Thu, 19 Mar 1998 11:51:30 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Rebuilding config.in in gcc-2.8.1 CC: djgpp AT delorie DOT com In-reply-to: <3510D96E.3E35@rug.ac.be> Precedence: bulk > Date: Thu, 19 Mar 1998 09:38:06 +0100 > From: Vik Heyndrickx > Subject: Re: Rebuilding config.in in gcc-2.8.1 > Eli Zaretskii wrote: > > > > On Tue, 17 Mar 1998, Andris Pavenis wrote: > > > > > --------- fragment from c:/djgpp/bin/autoheader ------- > > > > > > if test $# -eq 0; then > > > tmpout=autoh$$ > > > trap "rm -f $tmpout; exit 1" 1 2 15 > > > exec > $tmpout > > > fi > > > > I don't remember seeing this fragment. Vik, did you include it in the > > excerpts that you posted? > > Nope, but it seems that I should have. Sorry, about that. > > > Does this mean that if Autoheader is run with an argument this problem is > > avoided? Can you try? > > I can, but I don't understand what you want me to do exactly (I don't > share the 2 years of experience in complicated scripts, I barely can > read one) > I also. Anyway here is patch for autoheader that should help (I used slightly different: redirecting to file instead of con) to build GCC-2.8.1 with DJGPP under Win95 With best regards Andris Pavenis -------------- Cut here --------------' *** autoheader~ Wed May 14 17:33:34 1997 --- autoheader Thu Mar 19 11:19:36 1998 *************** *** 260,267 **** --- 260,270 ---- done fi if test $# -eq 0; then + #added to close $tmpout + exec > con + # ##################### if test $status -eq 0; then if test -f ${config_h_in} && cmp -s $tmpout ${config_h_in}; then rm -f $tmpout # File didn't change, so don't update its mod time. else