1 # SPDX-License-Identifier: 0BSD
3 #############################################################################
11 # Check if multibyte and wide character functionality is available
12 # for use by tuklib_mbstr_* functions. If not enough multibyte string
13 # support is available in the C library, the functions keep working
14 # with the assumption that all strings are a in single-byte character
15 # set without combining characters, e.g. US-ASCII or ISO-8859-*.
17 # This .m4 file and tuklib_mbstr.h are common to all tuklib_mbstr_*
18 # functions, but each function is put into a separate .c file so
19 # that it is possible to pick only what is strictly needed.
21 #############################################################################
23 # Author: Lasse Collin
25 #############################################################################
27 AC_DEFUN_ONCE([TUKLIB_MBSTR], [
28 AC_REQUIRE([TUKLIB_COMMON])
30 AC_CHECK_FUNCS([wcwidth])