summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-12 12:22:08 +0000
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-12 12:22:08 +0000
commit18f11b847c8b60754021142e3b65af65fa89e4a2 (patch)
tree3c3e43c2648be827c194be643b8e2f60f775d9e2 /config
parent147e1cb6cba094ddf4fda77ee996140b4aafe942 (diff)
downloadppe42-gcc-18f11b847c8b60754021142e3b65af65fa89e4a2.tar.gz
ppe42-gcc-18f11b847c8b60754021142e3b65af65fa89e4a2.zip
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
Diffstat (limited to 'config')
-rw-r--r--config/ChangeLog6
-rw-r--r--config/warnings.m42
2 files changed, 7 insertions, 1 deletions
diff --git a/config/ChangeLog b/config/ChangeLog
index cf260f0ef0e..3e6feea1b0d 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 2f44c922291..fdfa24b5781 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"
OpenPOWER on IntegriCloud