Since 9a868b06 (Tidy up config.h management (task from README) (#658),
2025-01-11), it fails to build with an "#error" because "config.h" is
no longer included directly.
Move the check and change some types in the utf8 tables it uses through
pcre2_ord2utf() so it better matches its current use, and other changes
in pcre2test.
While at it fix a typo in ManyConfigTests that was introduced in 0d0ac3aa
(Update EBCDIC support to support testing on normal ASCII systems (#656),
2025-02-12)
Starting with Unicode 15, the provided DerivedBidiClass data file
reports different default values to use for unassigned characters
in different groups.
Process the additional hints for that specific file, and allow
overriding the values later if more specific.
Since that was previously forbidden, change get_other_case() to
report when no valid value could be provided and allow skipping
conflicting rule lines that required that restriction.
While at it, Allow using the long identifiers in `ucptest` with
the `find bidi` command (underscores also allowed).
* ucptest: regenerate testoutput
Last sync with 1a5fcd (Remove unused variables in ucptest.c and update test data
for added properties, 2022-04-25), and showing significant differences.
* fix `findprop +` with UTF-8 characters and duplicated other case
At least in OpenBSD, there is a libedit library in base, but without
public headers. Public headers for readline are available but since
15db5d36 (pcre2test: avoid using readline headers with libedit,
2022-04-07) won't be picked up automatically.
Allow pointing cmake to those headers by doing (for example):
$ cmake -DEDITLINE_INCLUDE_DIR=/usr/include/readline
Or using custom CPPFLAGS with configure (for example):
$ CPPFLAGS=-I/usr/include/readline ./configure --enable-pcre2test-libedit
Since the headers from readline.h would be otherwise incomplete, detect
that case and pull the extra headers that are required automagically and
while at it, cleanup the NCURSES dependency that was unnecessarily copied
from readline.