summaryrefslogtreecommitdiff
path: root/m4/check-decl.m4
diff options
context:
space:
mode:
authorJim Meyering <meyering@iou.iou>2008-12-30 19:16:08 +0100
committerJim Meyering <meyering@redhat.com>2009-01-01 02:15:07 +0100
commit7fc5292a291dab4a1b5bf5370de1e083003dd18b (patch)
tree419f9dc905fa4297761f0118520ca0a9e0cbc9e8 /m4/check-decl.m4
parentcf5616a0aaa6f357b5d74e495dddcc0d8dac100c (diff)
downloadcoreutils-7fc5292a291dab4a1b5bf5370de1e083003dd18b.tar.xz
improve M4 quoting
* configure.ac: Add quotes. * gl/m4/mgetgroups.m4 (gl_MGETGROUPS): Likewise. * m4/boottime.m4 (GNULIB_BOOT_TIME): Likewise. * m4/check-decl.m4 (gl_CHECK_DECLS): Likewise. * m4/gmp.m4 (cu_GMP): Likewise. * m4/jm-macros.m4 (coreutils_MACROS, gl_CHECK_ALL_HEADERS): Likewise. (gl_CHECK_ALL_TYPES): Likewise. * m4/lib-check.m4 (cu_LIB_CHECK): Likewise. * m4/stat-prog.m4 (cu_PREREQ_STAT_PROG): Likewise. FYI, I first ran this command: git ls-files | grep -E '\.(m4|ac)$' | xargs perl -pi \ -e 's/(AC_[A-Z_]+\()([^[()]+?)([,)])/$1\[$2]$3/g;' \ -e 's/(AC_[A-Z_]+\(\[[^,]+?\], )([^,[()]+?)([,)])/$1\[$2]$3/g;' \ -e 's/(AC_[A-Z_]+\((?:\[[^,]+?\], ){2})([^,[()]+?)([,)])/$1\[$2]$3/g' Then I updated serial numbers and copyright dates manually. Also, I manually added two pairs of quotes in boottime.m4.
Diffstat (limited to 'm4/check-decl.m4')
-rw-r--r--m4/check-decl.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/m4/check-decl.m4 b/m4/check-decl.m4
index d5203529d..e2d20f3f8 100644
--- a/m4/check-decl.m4
+++ b/m4/check-decl.m4
@@ -1,7 +1,7 @@
-#serial 23
+#serial 24
# Check declarations for this package.
-dnl Copyright (C) 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006
+dnl Copyright (C) 1997-2001, 2003-2006, 2008
dnl Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
@@ -16,7 +16,7 @@ AC_DEFUN([gl_CHECK_DECLS],
[
AC_REQUIRE([AC_HEADER_TIME])
- AC_CHECK_HEADERS_ONCE(grp.h pwd.h)
+ AC_CHECK_HEADERS_ONCE([grp.h pwd.h])
headers='
#include <sys/types.h>