My XS module is having some problems in CPAN testing, on systems with 64-bit integers. So tonight I'll build a perl 5.10 with such integers. Our existing perl is 5.8.9, and I'd like to leave that as the standard version until 5.10.1 comes out.
My question is, what determines which include files ("EXTERN.h", "perl.h", "XSUB.h") my XS module is built with? Is it the version of perl that I run "perl Makefile.PL" (and thus ExtUtils::MakeMaker) with? Or is it the standard /usr/bin/perl or /usr/local/bin/perl? Or what?