From cbecb8cab8ed0228acb4d86d2a0b1ffa6d7977fc Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 26 Dec 2008 15:33:34 +0100 Subject: maint: tighten m4 AC_ quoting check * maint.mk (sc_m4_quote_check): Renamed from m4-check. Also search for AC_DEFINE and AC_DEFINE_UNQUOTED. Also search in configure.ac. * configure.ac: Quote first argument of AC_DEFINE. * jm-macros.m4 (coreutils_MACROS): Quote the first argument to AC_DEFINE. --- m4/jm-macros.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'm4') diff --git a/m4/jm-macros.m4 b/m4/jm-macros.m4 index a53be5b38..38e19fcb5 100644 --- a/m4/jm-macros.m4 +++ b/m4/jm-macros.m4 @@ -36,9 +36,9 @@ AC_DEFUN([coreutils_MACROS], AC_REQUIRE([AC_FUNC_FSEEKO]) # By default, argmatch should fail calling usage (1). - AC_DEFINE(ARGMATCH_DIE, [usage (1)], + AC_DEFINE([ARGMATCH_DIE], [usage (1)], [Define to the function xargmatch calls on failures.]) - AC_DEFINE(ARGMATCH_DIE_DECL, [void usage (int _e)], + AC_DEFINE([ARGMATCH_DIE_DECL], [void usage (int _e)], [Define to the declaration of the xargmatch failure function.]) # used by ls -- cgit v1.2.3-70-g09d2