From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3428 invoked by alias); 8 Feb 2002 18:36:01 -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 3403 invoked by uid 71); 8 Feb 2002 18:36:00 -0000 Date: Fri, 08 Feb 2002 10:36:00 -0000 Message-ID: <20020208183600.3401.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: 'Zack Weinberg' Subject: Re: other/5515: ./configure fails: sed: Function s%@subdirs@% cp cannot be parsed. Reply-To: 'Zack Weinberg' X-SW-Source: 2002-02/txt/msg00207.txt.bz2 List-Id: The following reply was made to PR other/5515; it has been noted by GNATS. From: 'Zack Weinberg' To: Edwin Bates Cc: Craig Rodrigues , Carlo Wood , "'gcc-bugs@gcc.gnu.org'" , "'gcc-gnats@gcc.gnu.org'" Subject: Re: other/5515: ./configure fails: sed: Function s%@subdirs@% cp cannot be parsed. Date: Fri, 8 Feb 2002 10:21:50 -0800 On Wed, Feb 06, 2002 at 04:27:34PM -0500, Edwin Bates wrote: > Hi Zack, > > I'm sorry that I couldn't get this to you before now, but I have the results > you asked for. Again, this is ./gcc/configure. I'm now thinking this might be a shell bug. Please try the following patch (you'll need to regenerate configure after using it). zw =================================================================== Index: configure.in --- configure.in 2002/01/10 22:21:36 1.576 +++ configure.in 2002/02/08 18:20:58 @@ -2057,14 +2057,15 @@ changequote(,)dnl *) add_this_lang=no ;; esac if test x"${add_this_lang}" = xyes; then + subdir=`echo $lang | sed -e 's,^.*/\([^/]*\)/config-lang.in$,\1,'` case $lang in ${srcdir}/ada/config-lang.in) if test x$have_gnat = xyes ; then - subdirs="$subdirs `echo $lang | sed -e 's,^.*/\([^/]*\)/config-lang.in$,\1,'`" + subdirs="$subdirs $subdir" fi ;; *) - subdirs="$subdirs `echo $lang | sed -e 's,^.*/\([^/]*\)/config-lang.in$,\1,'`" + subdirs="$subdirs $subdir" ;; esac fi