Gavin Smith wrote:
On Sat, Feb 27, 2021 at 02:41:57PM +0100, Bruno Haible wrote:
Also the files MiscXS.c, TestXS.c, XSParagraph.c were included in the
tarball, although "make clean" or "make distclean" deletes them. There
are two possible ways to fix this:
I think option B below would be the safer one. We check for xsubpp with
AM_MISSING_PROG so don't currently require it to be available.
I am fairly sure that any system with a perl capable of loading XS
modules has a working xsubpp.
As I understand, the .xs file is the proper source file and there are
few, if any, guarantees that the generated .c file will work with any
perl other than the one used to produce it. In other words,
distributing the .c files xsubpp produces is pointless, as anyone who
can use them will also have xsubpp to generate them and weird and
bizarre bugs can occur if those files should have been regenerated with
the local xsubpp but were taken as distributed for whatever reason.
-- Jacob