Re: have TEXINFO_XS=required adapted to TEXINFO_XS_*=0 and disabled XS

Patrice Dumas <[email protected]>
Newsgroups gmane.comp.tex.texinfo.bugs
Message-ID <[email protected]>
On Sun, Feb 01, 2026 at 09:36:43PM +0000, Gavin Smith wrote:
> On Sun, Feb 01, 2026 at 08:35:11PM +0000, Gavin Smith wrote:
> > I've tried configuring both with "--disable-perl-xs" and without,
> > and ran "make check" under tta/ after running
> > "export TEXINFO_XS=requiredifenabled", to success each time.
> 
> With further testing, TEXINFO_XS=requiredifenabled does not
> really work properly:
> $ cd perl
> $ TEXINFO_XS=requiredifenabled perl -w t/02coverage.t cartouche
> 
> I would have expected an error message, like the following:
> 
> $ TEXINFO_XS=required perl -w t/02coverage.t cartouche
> Parsetexi: couldn't find Libtool archive file
> set the TEXINFO_XS environment variable to 'omit' to use the pure Perl modules
> BEGIN failed--compilation aborted at t//../../perl/Texinfo/Parser.pm line 48.
> Compilation failed in require at t//../../perl/t/test_utils.pl line 74.
> BEGIN failed--compilation aborted at t//../../perl/t/test_utils.pl line 74.
> Compilation failed in require at t/02coverage.t line 6.

Indeed, I added a die in that case, thanks!

-- 
Pat
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.