From fd275f739b15325e7b620351b3ad7eb3dbc11a06 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 16 Sep 2002 10:26:59 +0000 Subject: Forbid symbols matching ^jm_[A-Z]. (jm_PREREQ_QUOTEARG): Add jm_FUNC_MEMCMP. --- m4/prereq.m4 | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'm4') 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 -- cgit v1.2.3-54-g00ecf