annotate m4/wchar_h.m4 @ 13066:fc8c984b0733

Factorize common .m4 code.
author Bruno Haible <bruno@clisp.org>
date Sat, 27 Mar 2010 18:38:53 +0100
parents 61705dab4021
children b2385e7b332e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
12913
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1 dnl A placeholder for ISO C99 <wchar.h>, for platforms that have issues.
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
2
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
3 dnl Copyright (C) 2007-2010 Free Software Foundation, Inc.
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
4 dnl This file is free software; the Free Software Foundation
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
5 dnl gives unlimited permission to copy and/or distribute it,
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
6 dnl with or without modifications, as long as this notice is preserved.
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
7
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
8 dnl Written by Eric Blake.
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
9
13066
fc8c984b0733 Factorize common .m4 code.
Bruno Haible <bruno@clisp.org>
parents: 12974
diff changeset
10 # wchar_h.m4 serial 33
12913
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
11
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
12 AC_DEFUN([gl_WCHAR_H],
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
13 [
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
14 AC_REQUIRE([gl_WCHAR_H_DEFAULTS])
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
15 AC_REQUIRE([gl_WCHAR_H_INLINE_OK])
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
16 dnl Prepare for creating substitute <wchar.h>.
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
17 dnl Check for <wchar.h> (missing in Linux uClibc when built without wide
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
18 dnl character support).
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
19 dnl <wchar.h> is always overridden, because of GNULIB_POSIXCHECK.
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
20 AC_CHECK_HEADERS_ONCE([wchar.h])
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
21 gl_CHECK_NEXT_HEADERS([wchar.h])
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
22 if test $ac_cv_header_wchar_h = yes; then
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
23 HAVE_WCHAR_H=1
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
24 else
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
25 HAVE_WCHAR_H=0
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
26 fi
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
27 AC_SUBST([HAVE_WCHAR_H])
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
28
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
29 AC_REQUIRE([gt_TYPE_WINT_T])
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
30 if test $gt_cv_c_wint_t = yes; then
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
31 HAVE_WINT_T=1
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
32 else
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
33 HAVE_WINT_T=0
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
34 fi
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
35 AC_SUBST([HAVE_WINT_T])
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
36
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
37 dnl Check for declarations of anything we want to poison if the
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
38 dnl corresponding gnulib module is not in use.
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
39 gl_WARN_ON_USE_PREPARE([[
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
40 /* Some systems require additional headers. */
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
41 #ifndef __GLIBC__
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
42 # include <stddef.h>
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
43 # include <stdio.h>
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
44 # include <time.h>
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
45 #endif
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
46 #include <wchar.h>
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
47 ]], [btowc wctob mbsinit mbrtowc mbrlen mbsrtowcs mbsnrtowcs wcrtomb
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
48 wcsrtombs wcsnrtombs wcwidth])
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
49 ])
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
50
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
51 dnl Check whether <wchar.h> is usable at all.
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
52 AC_DEFUN([gl_WCHAR_H_INLINE_OK],
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
53 [
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
54 dnl Test whether <wchar.h> suffers due to the transition from '__inline' to
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
55 dnl 'gnu_inline'. See <http://sourceware.org/bugzilla/show_bug.cgi?id=4022>
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
56 dnl and <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42440>. In summary,
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
57 dnl glibc version 2.5 or older, together with gcc version 4.3 or newer and
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
58 dnl the option -std=c99 or -std=gnu99, leads to a broken <wchar.h>.
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
59 AC_CACHE_CHECK([whether <wchar.h> uses 'inline' correctly],
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
60 [gl_cv_header_wchar_h_correct_inline],
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
61 [gl_cv_header_wchar_h_correct_inline=yes
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
62 AC_LANG_CONFTEST([
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
63 AC_LANG_SOURCE([[#define wcstod renamed_wcstod
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
64 #include <wchar.h>
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
65 extern int zero (void);
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
66 int main () { return zero(); }
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
67 ]])])
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
68 if AC_TRY_EVAL([ac_compile]); then
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
69 mv conftest.$ac_objext conftest1.$ac_objext
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
70 AC_LANG_CONFTEST([
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
71 AC_LANG_SOURCE([[#define wcstod renamed_wcstod
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
72 #include <wchar.h>
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
73 int zero (void) { return 0; }
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
74 ]])])
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
75 if AC_TRY_EVAL([ac_compile]); then
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
76 mv conftest.$ac_objext conftest2.$ac_objext
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
77 if $CC -o conftest$ac_exeext $CFLAGS $LDFLAGS conftest1.$ac_objext conftest2.$ac_objext $LIBS >&AS_MESSAGE_LOG_FD 2>&1; then
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
78 :
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
79 else
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
80 gl_cv_header_wchar_h_correct_inline=no
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
81 fi
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
82 fi
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
83 fi
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
84 rm -f conftest1.$ac_objext conftest2.$ac_objext conftest$ac_exeext
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
85 ])
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
86 if test $gl_cv_header_wchar_h_correct_inline = no; then
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
87 AC_MSG_ERROR([<wchar.h> cannot be used with this compiler ($CC $CFLAGS $CPPFLAGS).
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
88 This is a known interoperability problem of glibc <= 2.5 with gcc >= 4.3 in
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
89 C99 mode. You have four options:
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
90 - Add the flag -fgnu89-inline to CC and reconfigure, or
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
91 - Fix your include files, using parts of
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
92 <http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=b037a293a48718af30d706c2e18c929d0e69a621>, or
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
93 - Use a gcc version older than 4.3, or
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
94 - Don't use the flags -std=c99 or -std=gnu99.
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
95 Configuration aborted.])
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
96 fi
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
97 ])
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
98
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
99 dnl Unconditionally enables the replacement of <wchar.h>.
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
100 AC_DEFUN([gl_REPLACE_WCHAR_H],
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
101 [
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
102 dnl This is a no-op, because <wchar.h> is always overridden.
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
103 :
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
104 ])
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
105
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
106 AC_DEFUN([gl_WCHAR_MODULE_INDICATOR],
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
107 [
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
108 dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
109 AC_REQUIRE([gl_WCHAR_H_DEFAULTS])
13066
fc8c984b0733 Factorize common .m4 code.
Bruno Haible <bruno@clisp.org>
parents: 12974
diff changeset
110 gl_MODULE_INDICATOR_SET_VARIABLE([$1])
12974
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents: 12913
diff changeset
111 dnl Define it also as a C macro, for the benefit of the unit tests.
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents: 12913
diff changeset
112 gl_MODULE_INDICATOR([$1])
12913
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
113 ])
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
114
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
115 AC_DEFUN([gl_WCHAR_H_DEFAULTS],
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
116 [
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
117 GNULIB_BTOWC=0; AC_SUBST([GNULIB_BTOWC])
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
118 GNULIB_WCTOB=0; AC_SUBST([GNULIB_WCTOB])
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
119 GNULIB_MBSINIT=0; AC_SUBST([GNULIB_MBSINIT])
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
120 GNULIB_MBRTOWC=0; AC_SUBST([GNULIB_MBRTOWC])
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
121 GNULIB_MBRLEN=0; AC_SUBST([GNULIB_MBRLEN])
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
122 GNULIB_MBSRTOWCS=0; AC_SUBST([GNULIB_MBSRTOWCS])
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
123 GNULIB_MBSNRTOWCS=0; AC_SUBST([GNULIB_MBSNRTOWCS])
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
124 GNULIB_WCRTOMB=0; AC_SUBST([GNULIB_WCRTOMB])
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
125 GNULIB_WCSRTOMBS=0; AC_SUBST([GNULIB_WCSRTOMBS])
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
126 GNULIB_WCSNRTOMBS=0; AC_SUBST([GNULIB_WCSNRTOMBS])
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
127 GNULIB_WCWIDTH=0; AC_SUBST([GNULIB_WCWIDTH])
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
128 dnl Assume proper GNU behavior unless another module says otherwise.
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
129 HAVE_BTOWC=1; AC_SUBST([HAVE_BTOWC])
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
130 HAVE_MBSINIT=1; AC_SUBST([HAVE_MBSINIT])
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
131 HAVE_MBRTOWC=1; AC_SUBST([HAVE_MBRTOWC])
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
132 HAVE_MBRLEN=1; AC_SUBST([HAVE_MBRLEN])
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
133 HAVE_MBSRTOWCS=1; AC_SUBST([HAVE_MBSRTOWCS])
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
134 HAVE_MBSNRTOWCS=1; AC_SUBST([HAVE_MBSNRTOWCS])
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
135 HAVE_WCRTOMB=1; AC_SUBST([HAVE_WCRTOMB])
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
136 HAVE_WCSRTOMBS=1; AC_SUBST([HAVE_WCSRTOMBS])
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
137 HAVE_WCSNRTOMBS=1; AC_SUBST([HAVE_WCSNRTOMBS])
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
138 HAVE_DECL_WCTOB=1; AC_SUBST([HAVE_DECL_WCTOB])
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
139 HAVE_DECL_WCWIDTH=1; AC_SUBST([HAVE_DECL_WCWIDTH])
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
140 REPLACE_MBSTATE_T=0; AC_SUBST([REPLACE_MBSTATE_T])
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
141 REPLACE_BTOWC=0; AC_SUBST([REPLACE_BTOWC])
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
142 REPLACE_WCTOB=0; AC_SUBST([REPLACE_WCTOB])
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
143 REPLACE_MBSINIT=0; AC_SUBST([REPLACE_MBSINIT])
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
144 REPLACE_MBRTOWC=0; AC_SUBST([REPLACE_MBRTOWC])
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
145 REPLACE_MBRLEN=0; AC_SUBST([REPLACE_MBRLEN])
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
146 REPLACE_MBSRTOWCS=0; AC_SUBST([REPLACE_MBSRTOWCS])
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
147 REPLACE_MBSNRTOWCS=0; AC_SUBST([REPLACE_MBSNRTOWCS])
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
148 REPLACE_WCRTOMB=0; AC_SUBST([REPLACE_WCRTOMB])
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
149 REPLACE_WCSRTOMBS=0; AC_SUBST([REPLACE_WCSRTOMBS])
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
150 REPLACE_WCSNRTOMBS=0; AC_SUBST([REPLACE_WCSNRTOMBS])
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
151 REPLACE_WCWIDTH=0; AC_SUBST([REPLACE_WCWIDTH])
6a1b2eb4c331 More consistent naming of *.m4 files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
152 ])