From 7697f254b9de17ef9a777a6b8352a86445f831bf Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Wed, 17 Dec 2008 13:03:10 +0100 Subject: New module 'mbsinit'. --- m4/mbsinit.m4 | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 m4/mbsinit.m4 (limited to 'm4/mbsinit.m4') diff --git a/m4/mbsinit.m4 b/m4/mbsinit.m4 new file mode 100644 index 0000000000..f19ec0c7a7 --- /dev/null +++ b/m4/mbsinit.m4 @@ -0,0 +1,23 @@ +# mbsinit.m4 serial 14 +dnl Copyright (C) 2008 Free Software Foundation, Inc. +dnl This file is free software; the Free Software Foundation +dnl gives unlimited permission to copy and/or distribute it, +dnl with or without modifications, as long as this notice is preserved. + +AC_DEFUN([gl_FUNC_MBSINIT], +[ + AC_REQUIRE([gl_WCHAR_H_DEFAULTS]) + + AC_REQUIRE([AC_TYPE_MBSTATE_T]) + AC_CHECK_FUNCS_ONCE([mbsinit]) + if test $ac_cv_func_mbsinit = no; then + HAVE_MBSINIT=0 + AC_LIBOBJ([mbsinit]) + gl_PREREQ_MBSINIT + fi +]) + +# Prerequisites of lib/mbsinit.c. +AC_DEFUN([gl_PREREQ_MBSINIT], [ + : +]) -- cgit v1.2.1