* m4/Makefile.am: new version of file
[findutils.git] / m4 / prereq.m4
blob790adafefabc55982fb7afe5d44d7aa8319b3c2a
1 #serial 2
3 dnl These are the prerequisite macros for files in the lib/
4 dnl directories of the fileutils, sh-utils, and textutils packages.
6 AC_DEFUN(jm_PREREQ,
8   jm_PREREQ_ERROR
9   jm_PREREQ_REGEX
12 dnl FIXME: maybe put this in a separate file
13 AC_DEFUN(jm_PREREQ_REGEX,
15   dnl FIXME: Maybe provide a btowc replacement someday: solaris-2.5.1 lacks it.
16   dnl FIXME: Check for wctype and iswctype, and and add -lw if necessary
17   dnl to get them.
18   AC_CHECK_FUNCS(bzero bcopy isascii btowc)
19   AC_CHECK_HEADERS(alloca.h libintl.h wctype.h wchar.h)
20   AC_HEADER_STDC
21   AC_FUNC_ALLOCA