In bug #762638, it was suggested[1] that perl's Configure is indeed
source and is indeed considered preferred form for modification (even
though the header of that file claims otherwise). Maybe it is good to
put this issue to test:
A major issue with cross building perl is that it tries to run host arch
code during configure. In quite a few cases this is completely
unnecessary. Consider its check for sizeof(int) for instance. As we know
from autotools, sizeof values can be determined by bisecting using
compile-only tests. I am therefore attaching a patch that turns the
compile&run test for sizeof(int) into a compile-only test.
Practically this means that people who wish to cross build perl no
longer need to feed the value of intsize. Of course, this is just a drop
in the bucket as there still are longsize, shortsize and many more. What
I am seeking here is the preferred method to fix all of them. So rather
than submitting a large patch pile against a possibly autogenerated
file, I am submitting an incremental improvement to observe the
processes.
I hope this works out
Helmut
[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=762638#29
"The way it's set up now, we encourage people to simply patch
Configure." (Andy Dougherty)