summaryrefslogtreecommitdiff
path: root/modules/mbrtoc32
blob: 6e74fd375650510941237a57a2bf28edbce105ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
Description:
mbrtoc32() function: convert multibyte character to 32-bit wide character.

Files:
lib/mbrtoc32.c
lib/mbrtowc-impl.h
lib/mbrtowc-impl-utf8.h
lib/lc-charset-dispatch.h
lib/lc-charset-dispatch.c
lib/mbtowc-lock.h
lib/mbtowc-lock.c
lib/windows-initguard.h
m4/mbrtoc32.m4
m4/locale-fr.m4
m4/locale-zh.m4
m4/codeset.m4
m4/mbrtowc.m4
m4/mbstate_t.m4
m4/threadlib.m4
m4/visibility.m4

Depends-on:
uchar
attribute       [test $HAVE_MBRTOC32 = 0 || test $REPLACE_MBRTOC32 = 1]
c99             [{ test $HAVE_MBRTOC32 = 0 || test $REPLACE_MBRTOC32 = 1; } && test $REPLACE_MBSTATE_T = 0]
hard-locale     [{ test $HAVE_MBRTOC32 = 0 || test $REPLACE_MBRTOC32 = 1; } && test $REPLACE_MBSTATE_T = 0]
mbrtowc         [{ test $HAVE_MBRTOC32 = 0 || test $REPLACE_MBRTOC32 = 1; } && test $REPLACE_MBSTATE_T = 0]
assert-h        [test $HAVE_MBRTOC32 = 0 || test $REPLACE_MBRTOC32 = 1]
localcharset    [test $HAVE_MBRTOC32 = 0 || test $REPLACE_MBRTOC32 = 1]
streq           [test $HAVE_MBRTOC32 = 0 || test $REPLACE_MBRTOC32 = 1]

configure.ac:
gl_FUNC_MBRTOC32
gl_CONDITIONAL([GL_COND_OBJ_MBRTOC32],
               [test $HAVE_MBRTOC32 = 0 || test $REPLACE_MBRTOC32 = 1])
AM_COND_IF([GL_COND_OBJ_MBRTOC32], [
  if test $REPLACE_MBSTATE_T = 1; then
    AC_LIBOBJ([lc-charset-dispatch])
    AC_LIBOBJ([mbtowc-lock])
    gl_PREREQ_MBTOWC_LOCK
  fi
  gl_PREREQ_MBRTOC32
])
gl_UCHAR_MODULE_INDICATOR([mbrtoc32])

Makefile.am:
if GL_COND_OBJ_MBRTOC32
lib_SOURCES += mbrtoc32.c
endif

Include:
<uchar.h>

Link:
$(MBRTOWC_LIB)

License:
LGPLv2+

Maintainer:
Bruno Haible