Hi
Guy Hulbert wrote:
On Mon, 2008-17-03 at 17:23 +0000, Alberto Simões wrote:
What I would like was to rewrite this configure system and base it in
Perl. I want to make all the package installable from CPAN as all users
of the C package uses the Perl module interface.
My question is: what is the best and easier approach?
The standard way is to use h2xs but there is also swig and I seem to
recall reading recently that Incline::C may be easier but I don't know
how much it is used.
h2xs:
http://search.cpan.org/~rgarcia/perl-5.10.0/utils/h2xs.PL
Swig:
http://www.swig.org/exec.html
Inline:
http://search.cpan.org/src/INGY/Inline-0.44/README
Ok, the question was nor exactly regarding how to buid the Perl module
interface. The question was more, what is the correct way to distribute
it. I normally use ExtUtils::MakeMaker for Perl Modules, but I am not
sure if it has all the nuts I need to detect libraries and so on.
What I really want is something to replace autoconf/automake/libtool.
Cheers
ambs
--
Alberto Simões - Departamento de Informática - Universidade do Minho
Campus de Gualtar - 4710-057 Braga - Portugal