Hash :
6887c632
Author :
Date :
2023-09-07T14:51:58
mbscasecmp: support GNULIB_MCEL_PREFER * lib/mbscasecmp.c: Include stdlib.h, since we use MB_CUR_MAX. Include uchar.h, for c32tolower. (GNULIB_MCEL_PREFER): Include mcel.h instead of mbuiterf.h. (mbscasecmp) [GNULIB_MCEL_PREFER]: Use mcel instead of mbuiterf. * modules/mbscasecmp (Depends-on): Add c32tolower, stdlib, uchar. Depend on mbuiterf only if not preferring mcel.
Description:
mbscasecmp() function: case-insensitive string comparison.
Files:
lib/mbscasecmp.c
Depends-on:
c32tolower
mbuiterf [test "$GNULIB_MCEL_PREFER" != yes]
stdlib
string
uchar
configure.ac:
gl_STRING_MODULE_INDICATOR([mbscasecmp])
Makefile.am:
lib_SOURCES += mbscasecmp.c
Include:
<string.h>
Link:
$(LTLIBUNISTRING) when linking with libtool, $(LIBUNISTRING) otherwise
$(MBRTOWC_LIB)
$(LTLIBC32CONV) when linking with libtool, $(LIBC32CONV) otherwise
License:
LGPL
Maintainer:
all