X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fprereq.m4;h=790adafefabc55982fb7afe5d44d7aa8319b3c2a;hb=349be132551db3a46e6182b65d4a80762f4bc86d;hp=16aa53a2e5d2877f4d054c393757d070b27f92af;hpb=b1b640164cbedbfac28e291b4a290f2db30b1d9f;p=gnulib.git diff --git a/m4/prereq.m4 b/m4/prereq.m4 index 16aa53a2e..790adafef 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,17 @@ 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: solaris-2.5.1 lacks it. + dnl FIXME: Check for wctype and iswctype, and and add -lw if necessary + dnl to get them. + AC_CHECK_FUNCS(bzero bcopy isascii btowc) + AC_CHECK_HEADERS(alloca.h libintl.h wctype.h wchar.h) + AC_HEADER_STDC + AC_FUNC_ALLOCA ])