stonyy1 has asked for the wisdom of the Perl Monks concerning the following question:

I have a project, 90% in C that uses automake and autoconf, which has a swigged interface to perl and a couple perl packages included with it. I have managed to integrate my Makefile.PL with the regular bootstrap process for autotools, but I can't seem to get the two systems to play nicely all the way through distcheck.

Autotools is the master of the building process, not ExtUtils::MakeMaker. I have google searched several times for help on this and have found information, but it doesn't seem to be complete/doesn't work and I have gotten past the advice I have found there anyway.

Has anyone done this? Can anyone tell me how? It seems like I need ExtUtils::MakeMaker to follow the same paradigm that autotools does to make it through distcheck, but ExtUtils::MakeMaker doesn't even seem to have some of the concepts in it. I already had to re-work my version of ExtUtils to get uninstall to work properly.

I was going to include some code snippets, but I can't seem to get readmore and CODE to work as expected, so if someone needs to see code to answer my question, let me know and tell me how to get CODE and readmore to work.

Replies are listed 'Best First'.
Re: autotools & Perl Modules
by beable (Friar) on Jul 17, 2004 at 07:56 UTC
    Well I don't know how to solve your autotools problem, so I'll take a crack at readmore and code. To do the readmore thing, surround the big block of code with
    <readmore>
    <code>
    Big block here
    </code>
    </readmore>
    Like this: