summaryrefslogtreecommitdiff
path: root/config/warnings.m4
diff options
context:
space:
mode:
authorRyota Kunisawa <kunisawa@access.co.jp>2005-05-12 21:22:08 +0900
committerEric Botcazou <ebotcazou@gcc.gnu.org>2005-05-12 12:22:08 +0000
commit5a8c20ce52bf512a5578b3eae578ecc7b86f8cb8 (patch)
tree3c3e43c2648be827c194be643b8e2f60f775d9e2 /config/warnings.m4
parent47bebcf3ba6abdf1165aeafb8ded7325a3df7550 (diff)
re PR bootstrap/21230 (bootstrap failed unless bootstrap compiler is gcc.)
config/ PR bootstrap/21230 * warnings.m4 (ACX_PROG_CC_WARNING_ALMOST_PEDANTIC): Add double quotes around GCC variable. libcpp/ PR bootstrap/21230 * configure: Regenerate. From-SVN: r99613
Diffstat (limited to 'config/warnings.m4')
-rw-r--r--config/warnings.m42
1 files changed, 1 insertions, 1 deletions
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"