8 # Check if multibyte and wide character functionality is available
9 # for use by tuklib_mbstr_* functions. If not enough multibyte string
10 # support is available in the C library, the functions keep working
11 # with the assumption that all strings are a in single-byte character
12 # set without combining characters, e.g. US-ASCII or ISO-8859-*.
14 # This .m4 file and tuklib_mbstr.h are common to all tuklib_mbstr_*
15 # functions, but each function is put into a separate .c file so
16 # that it is possible to pick only what is strictly needed.
20 # Author: Lasse Collin
22 # This file has been put into the public domain.
23 # You can do whatever you want with this file.
26 AC_DEFUN_ONCE([TUKLIB_MBSTR], [
27 AC_REQUIRE([TUKLIB_COMMON])
29 AC_CHECK_FUNCS([wcwidth])