Click here to get back home

Conditional compilation

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Conditional compilation Shaun Clowes 11-05-2004
Posted by Shaun Clowes on November 5, 2004, 5:20 pm
Please log in for more thread options
Hi All,

This may be a strange one, I'm not sure how to solve it.

I have a project with a perl version of a parser, as well as an xs module to
invoke the C version of the module. They are shipped in a tree like:

project/c
project/perl

There are 4 .pm files in the project/perl directory and a
ExtUtils::MakeMaker Makefile.PL script to install them. What I'd like to is
have the 5th module (the one generated by the .xs file) be built and
installed _ONLY_ if the static library has been built in ../c/libparser.a.

I've got it all working except that part.

Any ideas?

Thanks,
Shaun




Similar ThreadsPosted
Conditional compile if 64-bit cpu, in .xs ? August 28, 2006, 12:00 am
DBI compilation error on Solaris February 24, 2005, 6:04 pm
Compilation problem using make January 21, 2006, 12:49 am
Class::Std causing compilation errors November 24, 2007, 5:08 pm
Commented lines are being shown compilation errors December 24, 2007, 5:37 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap