From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8131 invoked by alias); 29 Jan 2002 02:26:05 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 8099 invoked by uid 71); 29 Jan 2002 02:26:03 -0000 Date: Mon, 28 Jan 2002 18:26:00 -0000 Message-ID: <20020129022603.8097.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Craig Rodrigues Subject: Re: other/5515: ./configure fails: sed: Function s%@subdirs@% cp cannot be parsed. Reply-To: Craig Rodrigues X-SW-Source: 2002-01/txt/msg01007.txt.bz2 List-Id: The following reply was made to PR other/5515; it has been noted by GNATS. From: Craig Rodrigues To: Edwin Bates Cc: "'rodrigc@gcc.gnu.org'" , "'gcc-bugs@gcc.gnu.org'" , "'gcc-prs@gcc.gnu.org'" , "'nobody@gcc.gnu.org'" , "'gcc-gnats@gcc.gnu.org'" , Steve Moore 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 < > # 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