On Mon, Nov 10, 2025 at 10:52:28PM +0100, Patrice Dumas wrote: > On Mon, Nov 10, 2025 at 07:26:05PM +0000, Gavin Smith wrote: > We do have a test-case in gnu-texinfo/ci-scratch/test-libraries-dir > evolved from your test case. It could be integrated similarly with > tta/perl/CheckXS. This is not very satisfactory, but it should work. > > > we should disable SWIG by default in the Texinfo > > build; otherwise, users will not be able to build Texinfo without specifying > > the --without-swig flag. > > Disabling SWIG by default is another option, but, to me, the SWIG > interface is an interesting feature, and therefore a bit of a pity > to have it off in the default case on all the platforms. > > It seems to me that the best would be to understand how dlpreopen should > be used to be able to test if it solves the issue (it may not), > especially if there is a libtool bug somewhere that needs to be fixed. > But this can only happen with help from libtool developpers. Otherwise, > I do not have a well defined preference over the two other options.
Disabling SWIG is the easy option for me. Writing a configure-time test, or making the feature work properly using dlpreopen or other feature, is an option that requires a lot more work. So inevitably, I will disable SWIG unless somebody else does the work to make the other option work.
