diff options
author | Jim Meyering <meyering@redhat.com> | 2008-12-26 15:33:34 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-01-01 02:15:07 +0100 |
commit | cbecb8cab8ed0228acb4d86d2a0b1ffa6d7977fc (patch) | |
tree | 96e1c38acdc48a5c277c42b84c4ea03d905de633 /m4 | |
parent | fb992bae4c490dd00dbe1a55143e98efad87158b (diff) | |
download | coreutils-cbecb8cab8ed0228acb4d86d2a0b1ffa6d7977fc.tar.xz |
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.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/jm-macros.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
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 |