This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/14522] [3.5 Regression] Bad sed command in the configure script
- From: "bonzini at gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Mar 2004 12:09:23 -0000
- Subject: [Bug bootstrap/14522] [3.5 Regression] Bad sed command in the configure script
- References: <20040311065447.14522.ebotcazou@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bonzini at gnu dot org 2004-03-12 12:09 -------
Sorry, I tried to merge your patch and the extra bit by Andrew and did not
understand exactly what was wrong in Andrew's bit. Here is the patch that
fixes it, I am applying it as obvious.
2004-03-12 Eric Botcazou <ebotcazou@gcc.gnu.org>
Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/14522
* configure.in: Cope with shells that do not support unquoted ^
* configure: Regenerate.
Index: configure
===================================================================
RCS file: /cvs/gcc/gcc/configure,v
retrieving revision 1.134
diff -u -r1.134 configure
--- configure 11 Mar 2004 14:41:13 -0000 1.134
+++ configure 12 Mar 2004 12:06:32 -0000
@@ -2278,7 +2278,7 @@
esac
done
- missing_languages=`echo "$missing_languages" | sed -e s/^,// -e s/,\$//`
+ missing_languages=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
if test "x$missing_languages" != x; then
{ echo "configure: error:
The following requested languages were not found: ${missing_languages}" 1>&2;
exit 1; }
Index: configure.in
===================================================================
RCS file: /cvs/gcc/gcc/configure.in,v
retrieving revision 1.274
diff -u -r1.274 configure.in
--- configure.in 11 Mar 2004 14:41:13 -0000 1.274
+++ configure.in 12 Mar 2004 12:06:33 -0000
@@ -1177,7 +1177,7 @@
esac
done
- missing_languages=`echo "$missing_languages" | sed -e s/^,// -e s/,\$//`
+ missing_languages=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
if test "x$missing_languages" != x; then
AC_MSG_ERROR([
The following requested languages were not found: ${missing_languages}])
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14522