aboutsummaryrefslogtreecommitdiff
path: root/config/warnings.m4
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2005-05-12 16:35:35 +0000
committerDJ Delorie <dj@redhat.com>2005-05-12 16:35:35 +0000
commitf1166a0987615f14706a0f859e24c7d88fe2610a (patch)
tree0d9561b40525e21cf76aaca0e95bab6415e5e672 /config/warnings.m4
parent847f5ce8dadda349a73bcc89395d8da272e837f2 (diff)
downloadgdb-f1166a0987615f14706a0f859e24c7d88fe2610a.zip
gdb-f1166a0987615f14706a0f859e24c7d88fe2610a.tar.gz
gdb-f1166a0987615f14706a0f859e24c7d88fe2610a.tar.bz2
PR bootstrap/21230
* warnings.m4 (ACX_PROG_CC_WARNING_ALMOST_PEDANTIC): Add double quotes around GCC variable.
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 2f44c92..fdfa24b 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"