From ce34520755a9ad893fbae2def445a9444a12a12c Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 5 Apr 1998 18:22:11 +0000 Subject: [PATCH] (jm_PREREQ_REGEX): New macro. (jm_PREREQ): Use it here. --- m4/prereq.m4 | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/m4/prereq.m4 b/m4/prereq.m4 index 16aa53a2e5..65c2a767ca 100644 --- a/m4/prereq.m4 +++ b/m4/prereq.m4 @@ -1,4 +1,4 @@ -#serial 1 +#serial 2 dnl These are the prerequisite macros for files in the lib/ dnl directories of the fileutils, sh-utils, and textutils packages. @@ -6,4 +6,15 @@ dnl directories of the fileutils, sh-utils, and textutils packages. AC_DEFUN(jm_PREREQ, [ jm_PREREQ_ERROR + jm_PREREQ_REGEX +]) + +dnl FIXME: maybe put this in a separate file +AC_DEFUN(jm_PREREQ_REGEX, +[ + dnl FIXME: maybe provide a btowc replacement someday + AC_CHECK_FUNCS(bzero bcopy isascii btowc) + AC_CHECK_HEADERS(alloca.h libintl.h wctype.h wchar.h) + AC_HEADER_STDC + AC_FUNC_ALLOCA ]) -- 2.30.2