www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/19/04:54:15

Message-Id: <199803190954.LAA48010@ieva06.lanet.lv>
From: "Andris Pavenis" <pavenis AT laima DOT acad DOT latnet DOT lv>
To: Vik Heyndrickx <Vik DOT Heyndrickx AT rug DOT ac DOT be>
Date: Thu, 19 Mar 1998 11:51:30 +0000
MIME-Version: 1.0
Subject: Re: Rebuilding config.in in gcc-2.8.1
CC: djgpp AT delorie DOT com
In-reply-to: <3510D96E.3E35@rug.ac.be>

> Date:          Thu, 19 Mar 1998 09:38:06 +0100
> From:          Vik Heyndrickx <Vik DOT Heyndrickx AT rug DOT ac DOT be>
> 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
 

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019