diff options
author | Jim Meyering <jim@meyering.net> | 1998-04-05 18:22:11 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1998-04-05 18:22:11 +0000 |
commit | 53c085b7e5b2f38e683731c8c2871a668b26e64f (patch) | |
tree | 1bc3b7f37e50068a636df1ba46af2da3cd1aff36 /m4 | |
parent | faa759b349b9ef003c82cccdfaa0541344bfc3b1 (diff) | |
download | coreutils-53c085b7e5b2f38e683731c8c2871a668b26e64f.tar.xz |
(jm_PREREQ_REGEX): New macro.
(jm_PREREQ): Use it here.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/prereq.m4 | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/m4/prereq.m4 b/m4/prereq.m4 index 16aa53a2e..65c2a767c 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 ]) |