[Israel.pm] h2xs in Makefile.PL

Yuval Kogman lists at woobling.org
Fri May 7 06:02:03 PDT 2004


On Fri, May 07, 2004 at 11:26:27 +0300, Issac Goldstand wrote:
> Use CCFLAGS and LIBS inside WriteMakefile()?  I'm not sure what exactly
> you're asking...

If you run h2xs /usr/include/sysexits.h it generates a module -
Sysexits.pm, which contains the #defines i want as perl subs.

I would like a sane way to build this on the host it might get installed
on.

is there a right way to do this?


> 
>   Yitzchak
> 
> ----- Original Message ----- 
> From: "Yuval Kogman" <lists at woobling.org>
> To: <perl at perl.org.il>
> Sent: Friday, May 07, 2004 2:51 AM
> Subject: [Israel.pm] h2xs in Makefile.PL
> Hi!
> 
> I want to make the Sysexits module out of the sysexits.h header, because
> a module I'm writing uses it.
> 
> This is all dandy when I do it - but how do i get my
> Makefile.PL/Build.PL to handle this cleanly and reliably, when it's
> installing on someone else's box?
> 
> 
> > _______________________________________________
> > Perl mailing list
> > Perl at perl.org.il
> > http://www.perl.org.il/mailman/listinfo/perl
> >
> 
> _______________________________________________
> Perl mailing list
> Perl at perl.org.il
> http://www.perl.org.il/mailman/listinfo/perl

-- 
 ()  Yuval Kogman <nothingmuch at woobling.org> 0xEBD27418  perl hacker &
 /\  kung foo master: /me sushi-spin-kicks : neeyah!!!!!!!!!!!!!!!!!!!!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://perl.org.il/pipermail/perl/attachments/20040507/185f9722/attachment.pgp 


More information about the Perl mailing list