other/5515: ./configure fails: sed: Function s%@subdirs@% cp cannot be parsed.
'Zack Weinberg'
zack@codesourcery.com
Fri Feb 8 12:26:00 GMT 2002
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
More information about the Gcc-bugs
mailing list