1
0
mirror of https://https.git.savannah.gnu.org/git/gnulib.git synced 2026-06-15 15:25:49 +00:00
Files
gnulib/modules/mbswidth-bench-tests
Paul Eggert d60036ddca bench-tests: work with wchar-single
* modules/mbiter-bench-tests, modules/mbiterf-bench-tests:
* modules/mbswidth-bench-tests, modules/mbuiter-bench-tests:
* modules/mbuiterf-bench-tests, modules/mcel-bench-tests:
(Depends-on): Add streq.
* tests/bench-mbiter.c, tests/bench-mbiterf.c, tests/bench-mbswidth.c:
* tests/bench-mbuiter.c, tests/bench-mbuiterf.c, tests/bench-mcel.c:
If GNULIB_WCHAR_SINGLE_LOCALE, don’t call setlocale with different
locales.
2026-05-07 11:27:03 -07:00

24 lines
567 B
Plaintext

Files:
tests/bench-mbswidth.c
tests/bench-multibyte.h
tests/bench.h
Depends-on:
mbrtoc32-regular
mbswidth
setlocale
streq
striconv
getrusage
gettimeofday
configure.ac:
Makefile.am:
noinst_PROGRAMS += bench-mbswidth
# Note: Despite NDEBUG being set here, mbswidth.o is compiled with the
# global CPPFLAGS. For complete removal of assert() invocations, pass
# CPPFLAGS="-DNDEBUG" when configuring the package.
bench_mbswidth_CPPFLAGS = $(AM_CPPFLAGS) -DNDEBUG
bench_mbswidth_LDADD = $(LDADD) $(LIBUNISTRING) $(SETLOCALE_LIB) $(MBRTOWC_LIB) $(LIBC32CONV) $(LIBICONV)