From 79b4b7d2fd5e4b4ffd9db402bae96ac1f71c9154 Mon Sep 17 00:00:00 2001
From: Eric Botcazou <ebotcazou@gcc.gnu.org>
Date: Fri, 12 Mar 2004 12:10:17 +0000
Subject: [PATCH] re PR bootstrap/14522 (Bad sed command in the configure
 script)

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.

Co-Authored-By: Paolo Bonzini <bonzini@gnu.org>

From-SVN: r79380
---
 ChangeLog    | 9 ++++++++-
 configure    | 2 +-
 configure.in | 2 +-
 3 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 89785e8dcb89..957d8d281ea0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,8 +1,15 @@
+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.
+
 2004-03-11  Eric Botcazou  <ebotcazou@gcc.gnu.org>
             Paolo Bonzini  <bonzini@gnu.org>
 
 	PR bootstrap/14522
-	* configure.in: Cope with shell that do not support nesting
+	* configure.in: Cope with shells that do not support nesting
 	quotes inside quoted backquote substitutions.
 	* configure: Regenerate.
 
diff --git a/configure b/configure
index 166966545d35..b397bf1ce9b1 100755
--- a/configure
+++ b/configure
@@ -2278,7 +2278,7 @@ if test -d ${srcdir}/gcc; then
     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; }
diff --git a/configure.in b/configure.in
index 1cf5adaac6f0..6fa30221c52d 100644
--- a/configure.in
+++ b/configure.in
@@ -1177,7 +1177,7 @@ if test -d ${srcdir}/gcc; then
     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}])
-- 
GitLab