other/5515: ./configure fails: sed: Function s%@subdirs@% cp cannot be parsed.

Craig Rodrigues rodrigc@mediaone.net
Mon Jan 28 18:26:00 GMT 2002


The following reply was made to PR other/5515; it has been noted by GNATS.

From: Craig Rodrigues <rodrigc@mediaone.net>
To: Edwin Bates <ebates@Ebix.com>
Cc: "'rodrigc@gcc.gnu.org'" <rodrigc@gcc.gnu.org>,
   "'gcc-bugs@gcc.gnu.org'" <gcc-bugs@gcc.gnu.org>,
   "'gcc-prs@gcc.gnu.org'" <gcc-prs@gcc.gnu.org>,
   "'nobody@gcc.gnu.org'" <nobody@gcc.gnu.org>,
   "'gcc-gnats@gcc.gnu.org'" <gcc-gnats@gcc.gnu.org>,
   Steve Moore <SMoore@Ebix.com>
Subject: Re: other/5515: ./configure fails: sed: Function s%@subdirs@% cp cannot be parsed.
Date: Mon, 28 Jan 2002 21:26:14 -0500

 On Mon, Jan 28, 2002 at 07:50:51PM -0500, Edwin Bates wrote:
 > 
 > Fix for file gcc/configure:
 > ---------------------- Begin diff -c -----------------------
 > *** configure.orig      Mon Jan 28 19:26:04 2002 
 > --- configure   Mon Jan 28 19:25:24 2002 
 > *************** 
 > *** 7353,7358 **** 
 > --- 7353,7359 ---- 
 > 
 >   trap 'rm -fr `echo "$all_outputs auto-host.h:config.in" | sed "s/:[^
 > ]*//g"` conftest*; exit 1' 1 2 15 
 >   EOF 
 > + subdirs=`echo ${subdirs}` 
 >   cat >> $CONFIG_STATUS <<EOF 
 > 
 >   # Protect against being on the right side of a sed subst in config.status.
 
 
 Glad you figured it out, but I don't understand why your
 patch fixes things....
 Does the problem go away if you either:
 (1) Set CONFIG_SHELL to /bin/ksh?
 (2) Use GNU sed instead of AIX's sed?
 
 Thanks.
 -- 
 Craig Rodrigues        
 http://www.gis.net/~craigr    
 rodrigc@mediaone.net          



More information about the Gcc-prs mailing list