X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/ff4a34be273490d08c7b34a51e309a76c5b2c127..a319e6a7a32f824262ae3649ad6b6b31403f7932:/m4/prereq.m4 diff --git a/m4/prereq.m4 b/m4/prereq.m4 index f7114268..f2956db1 100644 --- a/m4/prereq.m4 +++ b/m4/prereq.m4 @@ -1,14 +1,15 @@ -#serial 1 +#serial 2 dnl These are the prerequisite macros for files in the lib/ dnl directories of Bison. AC_DEFUN([jm_PREREQ_QUOTEARG], [ - AC_CHECK_FUNCS(isascii iswprint mbrtowc) - AC_CHECK_HEADERS(limits.h stdlib.h string.h wchar.h wctype.h) + AC_CHECK_FUNCS(isascii iswprint mbsinit) + jm_FUNC_MBRTOWC + AC_CHECK_HEADERS(limits.h stddef.h stdlib.h string.h wchar.h wctype.h) AC_HEADER_STDC AC_C_BACKSLASH_A - AC_MBSTATE_T + AC_TYPE_MBSTATE_T AM_C_PROTOTYPES ])