From 18f11b847c8b60754021142e3b65af65fa89e4a2 Mon Sep 17 00:00:00 2001
From: ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Thu, 12 May 2005 12:22:08 +0000
Subject: [PATCH] config/         PR bootstrap/21230         * warnings.m4
 (ACX_PROG_CC_WARNING_ALMOST_PEDANTIC): Add         double quotes around GCC
 variable.

libcpp/
        PR bootstrap/21230
        * configure: Regenerate.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99613 138bc75d-0d04-0410-961f-82ee72b054a4
---
 config/ChangeLog   | 6 ++++++
 config/warnings.m4 | 2 +-
 libcpp/ChangeLog   | 5 +++++
 libcpp/configure   | 2 +-
 4 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/config/ChangeLog b/config/ChangeLog
index cf260f0ef0ec..3e6feea1b0d9 100644
--- a/config/ChangeLog
+++ b/config/ChangeLog
@@ -1,3 +1,9 @@
+2005-05-12  Ryota Kunisawa  <kunisawa@access.co.jp>
+
+	PR bootstrap/21230
+	* warnings.m4 (ACX_PROG_CC_WARNING_ALMOST_PEDANTIC): Add
+	double quotes around GCC variable.
+
 2005-04-29  Paolo Bonzini  <bonzini@gnu.org>
 
 	* acx.m4 (ACX_PROG_GNAT): Remove stray break.
diff --git a/config/warnings.m4 b/config/warnings.m4
index 2f44c9222915..fdfa24b5781d 100644
--- a/config/warnings.m4
+++ b/config/warnings.m4
@@ -50,7 +50,7 @@ AC_DEFUN([ACX_PROG_CC_WARNING_ALMOST_PEDANTIC],
 AC_SUBST([WARN_PEDANTIC])dnl
 AS_VAR_PUSHDEF([acx_Pedantic], [acx_cv_prog_cc_pedantic_$1])dnl
 WARN_PEDANTIC=
-AS_IF([test $GCC = yes],
+AS_IF([test "$GCC" = yes],
 [AC_CACHE_CHECK([whether $CC supports -pedantic $1], acx_Pedantic,
 [save_CFLAGS="$CFLAGS"
 CFLAGS="-pedantic $1"
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog
index c1d3c63ea997..6397e2a3b6d6 100644
--- a/libcpp/ChangeLog
+++ b/libcpp/ChangeLog
@@ -1,3 +1,8 @@
+2005-05-12  Ryota Kunisawa  <kunisawa@access.co.jp>
+
+	PR bootstrap/21230
+	* configure: Regenerate.
+
 2005-04-27  Andris Pavenis  <pavenis@latnet.lv>
 
 	* files.c: Include io.h for DJGPP to get prototype of setmode.
diff --git a/libcpp/configure b/libcpp/configure
index 915b4cb77e02..63647450dfc7 100755
--- a/libcpp/configure
+++ b/libcpp/configure
@@ -2757,7 +2757,7 @@ fi
 CFLAGS="$save_CFLAGS"
 
 WARN_PEDANTIC=
-if test $GCC = yes; then
+if test "$GCC" = yes; then
   echo "$as_me:$LINENO: checking whether $CC supports -pedantic -Wno-long-long" >&5
 echo $ECHO_N "checking whether $CC supports -pedantic -Wno-long-long... $ECHO_C" >&6
 if test "${acx_cv_prog_cc_pedantic__Wno_long_long+set}" = set; then
-- 
GitLab