summaryrefslogtreecommitdiff
path: root/m4/mbsinit.m4
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2008-12-17 13:03:10 +0100
committerBruno Haible <bruno@clisp.org>2008-12-17 13:05:50 +0100
commit7697f254b9de17ef9a777a6b8352a86445f831bf (patch)
treef7cc52f6e8ea156d483b249d91036ac863fae9a1 /m4/mbsinit.m4
parent7006c85f7b688a390444f5c91e145b89f478c6ce (diff)
downloadgnulib-7697f254b9de17ef9a777a6b8352a86445f831bf.tar.gz
New module 'mbsinit'.
Diffstat (limited to 'm4/mbsinit.m4')
-rw-r--r--m4/mbsinit.m423
1 files changed, 23 insertions, 0 deletions
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], [
+ :
+])