Look at Devel::CheckLib on CPAN
David On May 31, 2011 7:10 PM, "Vick Khera" <vi...@khera.org> wrote: > I just got a cpan testers report of failure for the module > Mail::OpenDKIM. The report shows basically a bunch of build failures > due to the libopendkim library being missing. > > In my Makefile.PL, I specify LIBS => ['-lopendkim'] but that doesn't > seem to stop MakerMaker from proceeding with the build if it is not > found. How do I make MakeMaker stop dead if the needed library is not > found? > > > Example report is > http://www.cpantesters.org/cpan/report/12c1d746-89fc-11e0-92a5-c348c9b7ec30