annotate m4/mbiter.m4 @ 11386:23f58a4ffca0

Followup to 2008-12-22: Remove unnecessary AC_FUNC_MBRTOWC invocations.
author Bruno Haible <bruno@clisp.org>
date Tue, 10 Mar 2009 01:19:40 +0100
parents b10927a03d08
children b5e42ef33b49
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10949
b10927a03d08 Make mbiter, mbuiter, mbfile usable also if !HAVE_MBRTOWC.
Bruno Haible <bruno@clisp.org>
parents: 10897
diff changeset
1 # mbiter.m4 serial 4
10897
45e1c3577b49 Rename gl_FUNC_MBRTOWC to AC_FUNC_MBRTOWC.
Bruno Haible <bruno@clisp.org>
parents: 6301
diff changeset
2 dnl Copyright (C) 2005, 2008 Free Software Foundation, Inc.
6045
283b5e8d287a New module 'mbiter'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
3 dnl This file is free software; the Free Software Foundation
283b5e8d287a New module 'mbiter'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
4 dnl gives unlimited permission to copy and/or distribute it,
283b5e8d287a New module 'mbiter'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
5 dnl with or without modifications, as long as this notice is preserved.
283b5e8d287a New module 'mbiter'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
6
283b5e8d287a New module 'mbiter'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
7 dnl autoconf tests required for use of mbiter.h
283b5e8d287a New module 'mbiter'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
8 dnl From Bruno Haible.
283b5e8d287a New module 'mbiter'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
9
283b5e8d287a New module 'mbiter'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
10 AC_DEFUN([gl_MBITER],
283b5e8d287a New module 'mbiter'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
11 [
283b5e8d287a New module 'mbiter'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
12 AC_REQUIRE([AC_TYPE_MBSTATE_T])
6301
015760832874 Deal with the fact that mbchar.h, mbfile.h, mbiter.h, mbuiter.h can
Bruno Haible <bruno@clisp.org>
parents: 6045
diff changeset
13 dnl The following line is that so the user can test HAVE_MBRTOWC before
10949
b10927a03d08 Make mbiter, mbuiter, mbfile usable also if !HAVE_MBRTOWC.
Bruno Haible <bruno@clisp.org>
parents: 10897
diff changeset
14 dnl #include "mbiter.h" or "mbuiter.h". It can be removed in 2010.
10897
45e1c3577b49 Rename gl_FUNC_MBRTOWC to AC_FUNC_MBRTOWC.
Bruno Haible <bruno@clisp.org>
parents: 6301
diff changeset
15 AC_REQUIRE([AC_FUNC_MBRTOWC])
6045
283b5e8d287a New module 'mbiter'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
16 :
283b5e8d287a New module 'mbiter'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
17 ])