2N/A# mbsinit.m4 serial 4
2N/Adnl Copyright (C) 2008, 2010 Free Software Foundation, Inc.
2N/Adnl This file is free software; the Free Software Foundation
2N/Adnl gives unlimited permission to copy and/or distribute it,
2N/Adnl with or without modifications, as long as this notice is preserved.
2N/A
2N/AAC_DEFUN([gl_FUNC_MBSINIT],
2N/A[
2N/A AC_REQUIRE([gl_WCHAR_H_DEFAULTS])
2N/A
2N/A AC_REQUIRE([AC_TYPE_MBSTATE_T])
2N/A gl_MBSTATE_T_BROKEN
2N/A
2N/A AC_CHECK_FUNCS_ONCE([mbsinit])
2N/A if test $ac_cv_func_mbsinit = no; then
2N/A HAVE_MBSINIT=0
2N/A else
2N/A if test $REPLACE_MBSTATE_T = 1; then
2N/A REPLACE_MBSINIT=1
2N/A fi
2N/A fi
2N/A if test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1; then
2N/A gl_REPLACE_WCHAR_H
2N/A AC_LIBOBJ([mbsinit])
2N/A gl_PREREQ_MBSINIT
2N/A fi
2N/A])
2N/A
2N/A# Prerequisites of lib/mbsinit.c.
2N/AAC_DEFUN([gl_PREREQ_MBSINIT], [
2N/A :
2N/A])