This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: other/5515: ./configure fails: sed: Function s%@subdirs@% cp cannot be parsed.
- From: 'Zack Weinberg' <zack at codesourcery dot com>
- To: Edwin Bates <ebates at Ebix dot com>
- Cc: Craig Rodrigues <rodrigc at mediaone dot net>, Carlo Wood <carlo at alinoe dot com>,"'gcc-bugs at gcc dot gnu dot org'" <gcc-bugs at gcc dot gnu dot org>,"'gcc-gnats at gcc dot gnu dot org'" <gcc-gnats at gcc dot gnu dot org>
- Date: Fri, 8 Feb 2002 10:21:50 -0800
- Subject: Re: other/5515: ./configure fails: sed: Function s%@subdirs@% cp cannot be parsed.
- References: <EC50CB43279ED311A3720008C7DB7664019E5934@RM_EXEC1>
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