PR bootstrap/21230
authorDJ Delorie <dj@redhat.com>
Thu, 12 May 2005 16:35:35 +0000 (16:35 +0000)
committerDJ Delorie <dj@redhat.com>
Thu, 12 May 2005 16:35:35 +0000 (16:35 +0000)
* warnings.m4 (ACX_PROG_CC_WARNING_ALMOST_PEDANTIC): Add
double quotes around GCC variable.

config/ChangeLog
config/warnings.m4

index cf260f0ef0ec8f0f3d48c750f956352ac0da366a..3e6feea1b0d99f5813685eb4fca52216592d7934 100644 (file)
@@ -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.
index 2f44c9222915760277ccce184532c37028521ae4..fdfa24b5781da114ba6dd5893ca3fabe45b2e919 100644 (file)
@@ -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"