summaryrefslogtreecommitdiff
path: root/m4/mbfile.m4
blob: ec862a861317a955ad7c743d1c9eddc3988a114e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# mbfile.m4 serial 4
dnl Copyright (C) 2005, 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.

dnl autoconf tests required for use of mbfile.h
dnl From Bruno Haible.

AC_DEFUN([gl_MBFILE],
[
  AC_REQUIRE([AC_TYPE_MBSTATE_T])
  dnl The following line is that so the user can test HAVE_MBRTOWC before
  dnl #include "mbfile.h". It can be removed in 2010.
  AC_REQUIRE([AC_FUNC_MBRTOWC])
  :
])