Patchwork Fix unquoted comma in m4 macro argument

login
register
mail settings
Submitter Andreas Schwab
Date Sept. 6, 2010, 10:35 a.m.
Message ID <m34oe32m88.fsf@hase.home>
Download mbox | patch
Permalink /patch/63912/
State New
Headers show

Comments

Andreas Schwab - Sept. 6, 2010, 10:35 a.m.
Commas in m4 macro arguments need to be quoted.  Committed as obvious.

Andreas.

2010-09-06  Andreas Schwab  <schwab@redhat.com>

config/:
	* dfp.m4: Quote argument of AC_MSG_WARN.

gcc/:
	* configure.ac: Quote argument of AC_MSG_WARN.
	* configure: Regenerate.

libdecnumber/:
	* configure: Regenerate.

libgcc/:
	* configure: Regenerate.

Patch

Index: config/dfp.m4
===================================================================
--- config/dfp.m4	(revision 163907)
+++ config/dfp.m4	(working copy)
@@ -24,7 +24,7 @@ 
       enable_decimal_float=yes
       ;;
     *)
-      AC_MSG_WARN(decimal float is not supported for this target, ignored)
+      AC_MSG_WARN([decimal float is not supported for this target, ignored])
       enable_decimal_float=no
       ;;
   esac
Index: gcc/configure.ac
===================================================================
--- gcc/configure.ac	(revision 163907)
+++ gcc/configure.ac	(working copy)
@@ -627,7 +627,7 @@ 
     mips*-*-*)
       case $host in
 	mips*-sgi-irix*)
-	  AC_MSG_WARN(fixed-point is not supported on IRIX, ignored)
+	  AC_MSG_WARN([fixed-point is not supported on IRIX, ignored])
 	  enable_fixed_point=no
 	  ;;
 	*)
@@ -636,7 +636,7 @@ 
       esac
       ;;
     *)
-      AC_MSG_WARN(fixed-point is not supported for this target, ignored)
+      AC_MSG_WARN([fixed-point is not supported for this target, ignored])
       enable_fixed_point=no
       ;;
   esac