1998-04-05 18:22:11 +00:00
|
|
|
#serial 2
|
1998-03-15 09:45:00 +00:00
|
|
|
|
|
|
|
|
dnl These are the prerequisite macros for files in the lib/
|
|
|
|
|
dnl directories of the fileutils, sh-utils, and textutils packages.
|
|
|
|
|
|
|
|
|
|
AC_DEFUN(jm_PREREQ,
|
|
|
|
|
[
|
|
|
|
|
jm_PREREQ_ERROR
|
1998-04-05 18:22:11 +00:00
|
|
|
jm_PREREQ_REGEX
|
|
|
|
|
])
|
|
|
|
|
|
|
|
|
|
dnl FIXME: maybe put this in a separate file
|
|
|
|
|
AC_DEFUN(jm_PREREQ_REGEX,
|
|
|
|
|
[
|
1998-04-05 21:35:33 +00:00
|
|
|
dnl FIXME: Maybe provide a btowc replacement someday: solaris-2.5.1 lacks it.
|
|
|
|
|
dnl FIXME: Check for wctype and iswctype, and and add -lw if necessary
|
|
|
|
|
dnl to get them.
|
1998-04-05 18:22:11 +00:00
|
|
|
AC_CHECK_FUNCS(bzero bcopy isascii btowc)
|
|
|
|
|
AC_CHECK_HEADERS(alloca.h libintl.h wctype.h wchar.h)
|
|
|
|
|
AC_HEADER_STDC
|
|
|
|
|
AC_FUNC_ALLOCA
|
1998-03-15 09:45:00 +00:00
|
|
|
])
|