These config.sh.* files are generated during the package build
and installed into the libperl5.xx package, in the directory
/usr/lib/<triplet>/perl/config-data-<version>. They contain probed values
about system configuration, used for cross building the package.
The probes currently need to run on the native architecture, so they
cannot be used for cross building. As a workaround, we store the results
in the built binary package and then manually copy them back to the
source package as needed.
The process is currently experimental, and no commitment is made on long
term feasibility of this. We will see how it goes.
For more information, see the thread starting at
http://lists.alioth.debian.org/pipermail/perl-maintainers/2016-January/005241.html
-- Niko Tyni <ntyni@debian.org> Fri, 29 Jan 2016 10:28:42 +0200