mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-10 21:03:04 +00:00
* lib/quotearg.c: BSD/OS 4.1 wchar.h requires FILE and struct tm to be declared. (HAVE_MBSINIT): Undef if !HAVE_MBRTOWC. (mbsinit): Define to 1 if !defined mbsinit && !HAVE_MBSINIT. * m4/Makefile.am (EXTRA_DIST): Add mbrtowc.m4. * m4/mbrtowc.m4: New file. * m4/prereq.m4 (jm_PREREQ_QUOTEARG): Check for mbsinit and stddef.h. Use jm_FUNC_MBRTOWC instead of AC_CHECK_FUNCS(mbrtowc).
16 lines
337 B
Plaintext
16 lines
337 B
Plaintext
#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 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
|
|
AM_C_PROTOTYPES
|
|
])
|