X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/80483e8e0dae754fed35012b8986d368c13bd8fe..6040d338861cf4b500e4340c3c7a6c5638092684:/m4/mbswidth.m4 diff --git a/m4/mbswidth.m4 b/m4/mbswidth.m4 index 158653c4..d7981ca3 100644 --- a/m4/mbswidth.m4 +++ b/m4/mbswidth.m4 @@ -1,12 +1,13 @@ -#serial 8 +#serial 9 dnl autoconf tests required for use of mbswidth.c dnl From Bruno Haible. -AC_DEFUN([jm_PREREQ_MBSWIDTH], +AC_DEFUN([gl_MBSWIDTH], [ - AC_CHECK_HEADERS(wchar.h wctype.h) - AC_CHECK_FUNCS(isascii iswcntrl iswprint mbsinit wcwidth) + AC_CHECK_HEADERS_ONCE(wchar.h wctype.h) + AC_CHECK_FUNCS_ONCE(isascii iswprint mbsinit) + AC_CHECK_FUNCS(iswcntrl wcwidth) jm_FUNC_MBRTOWC AC_CACHE_CHECK([whether wcwidth is declared], ac_cv_have_decl_wcwidth,