On Tue, Jan 27, 2026 at 11:03:08PM +0100, [email protected] wrote: > On Tue, Jan 27, 2026 at 07:55:31PM +0000, Gavin Smith wrote: > > The main use case I am concerned about is when XS modules are disabled. > > Even if --disable-perl-xs is given to "./configure", a large amount of time > > is spent building dynamically linked libraries under the tta/ directory > > (including gnulib). This is pointless for users who are only going to > > use the pure Perl implementations. Is there no way to disable the C code > > being built under tta? > > Maybe if disable XS is set and --enable-additional-checks is not passed > we would not recurse in tta/C? > > As a side note, the SWIG python interface can be built with disable XS, > so it would need the same conditionals.
After some thinking, maybe a possibility would be to recurse in C if either XS is enabled, --enable-additional-checks is passed or any SWIG interface is built, as SWIG interfaces may work and provide an interesting interface even if XS is disabled. -- Pat
