/usr/share/doc/check/README.Debian is in check 0.9.10-6ubuntu3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | P I C S U P P O R T
=====================
In addition to the non-PIC static library, check now also ships a PIC-
enabled library libcheck_pic.a, this is e.g. needed if you want to link
libcheck against a dynamic library on x86_64. Since 0.9.8-1.1 this is the
default when you use pkg-config, by popular demand. I still think that
linking unit tests into shared lib is eccentric, but it doesn't seem to
hurt, so there you are. If you want the non-pic library then don't use
pkg-config, but state the link flags yourself.
On a related note, the fact that check doesn't build a shared library but
a static one is deliberate, not a missing feature: you aree building *unit
tests*! build them, run them, throw them away. The additional cost of
maintaining a backwards-compatible ABI just isn't worth it.
U P G R A D E N O T I C E
===========================
This version of check makes tcase_free and suite_free static and not
available to your programs anymore. this is not an error, but intended
since these are freed by srunner_free now. a deprecation period would
have been nice, but here we are. so: just delete the calls and make
sure you run srunner_free!
D O C U M E N T A T I O N
=========================
In this version of check, all relevant documentation is in texinfo format, so
just type "info check" to get to the manual.
cu robert
|