On Tue, 07 Sep 2010 10:42:41 +0200, Lars Dɪᴇᴄᴋᴏᴡ 迪拉斯 <da...@cpan.org>
wrote:
How do I specify the dependency in Makefile.PL?
This was under discussion at, IIRC, cpan-workers, but nothing came out
of it.
Do I need to write a custom check, compile
a test C program or something like that?
http://p3rl.org/Devel::CheckLib
http://p3rl.org/Module::Install::CheckLib
Reading the docs, it warns about including Devel/CheckLib.pm
in your "inc" folder, because of PAUSE indexing issues.
IIUC, the "package #\n Devel::Checklib; \n" trick serves this purpose.
So, can I use this module as an example or...?
http://github.com/jettero/posix--regex/blob/master/Makefile.PL
--
Cosimo