On Fri, 17 Jun 2005, imacat wrote: [ ... ] > From my personal experience dealing with GNU autoconf > and automake, I think the module author should be > responsible to specify what external executables, > libraries, versions are required. Then > ExtUtils::MakeMaker can produce a certain error checking > them before generating the Makefile, and CPANPLUS can then > capture that error and know some external prerequisites > failures.
For the problem of checking an external library, one might want to consider something like the have_library() function used by, eg, XML::LibXML::Common: http://search.cpan.org/src/PHISH/XML-LibXML-Common-0.13/Makefile.PL This compiles some sample xs glue, and links against the specified library, to see if the library is useable. -- best regards, randy
