summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-09-16 10:26:59 +0000
committerJim Meyering <jim@meyering.net>2002-09-16 10:26:59 +0000
commitfd275f739b15325e7b620351b3ad7eb3dbc11a06 (patch)
tree52eb3f27bc10dc849b8cb7f8165296a619e1b1fe /m4
parent29cf63f13ef169ffce5e28489af8277efc1dfc8f (diff)
downloadcoreutils-fd275f739b15325e7b620351b3ad7eb3dbc11a06.tar.xz
Forbid symbols matching ^jm_[A-Z].
(jm_PREREQ_QUOTEARG): Add jm_FUNC_MEMCMP.
Diffstat (limited to 'm4')
-rw-r--r--m4/prereq.m410
1 files changed, 7 insertions, 3 deletions
diff --git a/m4/prereq.m4 b/m4/prereq.m4
index 188a7bf16..57162d2f6 100644
--- a/m4/prereq.m4
+++ b/m4/prereq.m4
@@ -1,7 +1,10 @@
-#serial 26
+#serial 27
-dnl These are the prerequisite macros for files in the lib/
-dnl directories of the fileutils, sh-utils, and textutils packages.
+dnl We use jm_ for non Autoconf macros.
+m4_pattern_forbid([^jm_[ABCDEFGHIJKLMNOPQRSTUVXYZ]])dnl
+
+# These are the prerequisite macros for files in the lib/
+# directory of the coreutils package.
AC_DEFUN([jm_PREREQ],
[
@@ -114,6 +117,7 @@ AC_DEFUN([jm_PREREQ_QUOTEARG],
[
AC_CHECK_FUNCS(isascii iswprint)
jm_FUNC_MBRTOWC
+ jm_FUNC_MEMCMP
AC_CHECK_HEADERS(limits.h stddef.h stdlib.h string.h wchar.h wctype.h)
AC_HEADER_STDC
AC_C_BACKSLASH_A