Perl-Toolchain-Gang/ExtUtils-MakeMaker — pull request #47 by demerphq (2013-02-21 08:51:22+00:00)
Title: Do not hard code the list of perl header files - discover them from disk instead

Historically EUMM has maintained several, per OS, hard coded lists of perl
header files used to build XS modules. Over time these lists have drifted
out of sync from each other and from the actual list of headers.

This patch replaces that logic by a discovery method called

my @files= MM_Any->_perl_header_files();

which returns a list of the header files found on disk that are actually
available. MM_Unix and MM_VMS then use this to build the correct header
fragment via their perldepend() implementation.

This has been tested to work on *nix and VMS in a perl.git branch as 6.64_03.