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

Zack Weinberg zack@codesourcery.com
Mon Jan 28 20:16:00 GMT 2002


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

From: Zack Weinberg <zack@codesourcery.com>
To: Craig Rodrigues <rodrigc@mediaone.net>
Cc: Carlo Wood <carlo@alinoe.com>, Edwin Bates <ebates@Ebix.com>,
	"'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 20:08:38 -0800

 On Mon, Jan 28, 2002 at 10:54:29PM -0500, Craig Rodrigues wrote:
 > 
 > OK.  Zack Weinberg applied a patch which does a similar
 > thing to subdirs:
 
 That patch has nothing to do with this problem.
 
 > Edwin, can you try changing your fix to:
 > subdirs='$subdirs'
 
 The line that does that, from my patch, is executed in an unusual
 context; it's dead wrong anywhere else.
 
 What I want to know is how we got newlines in $subdirs in the first
 place.  That should be impossible.  Edwin, would you mind applying
 this patch to configure.in, regenerating configure, running it, and
 reporting the output (just the lines beginning with a plus sign should
 be enough)?
 
 zw
 
 ===================================================================
 Index: configure.in
 --- configure.in	2002/01/10 22:21:36	1.576
 +++ configure.in	2002/01/29 04:07:52
 @@ -2032,6 +2032,7 @@ changequote([,])dnl
     esac
  done
  
 +set -x
  subdirs=
  for lang in ${srcdir}/*/config-lang.in ..
  do
 @@ -2072,6 +2073,7 @@ changequote(,)dnl
  changequote([,])dnl
  	esac
  done
 +set +x
  
  # Make gthr-default.h if we have a thread file.
  gthread_flags=
 
 



More information about the Gcc-prs mailing list