Subject: | Add a check_lib without the exit |
We discussed this before and I believe it was added, but does not appear
to have made the CPAN.
It would be nice if there was a check_lib that doesn't exit, so that
optional libraries can be looked for.
One example from a module I maintain: on systems where libgthread2.0 is
present, a C library I use will link to it. My XS module should
therefore also be linked to gthread2.0 or it doesn't work (spotted via
CPAN testers, ta).
I don't need to exit in this case, just check whether it is present and
then add -lgthread2.0 to the list of extra LIBS.
I would provide a patch, but I'm pretty sure you implemented this
already and just haven't released yet.