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 Fri, Jan 30, 2026 at 10:24:25PM +0000, Gavin Smith wrote:
> Here's an idea that only uses the configure-time settings.  It's done
> by setting the TEXINFO_XS environment variable in the environment for
> the tests.
> 
> +  if ($TEXINFO_XS eq 'requiredifconfigured') {
> +    $TEXINFO_XS = $disable_XS ? 'omit' : 'required';
> +  }
> +
>    if ($embedded_xs and $TEXINFO_XS eq 'omit') {
>      warn "ignoring TEXINFO_XS environment variable set to 'omit' ".
>           "for embedded Perl\n";
> 

I applied a variant of this, using 'requiredifenabled', and not leaving
'requiredifenabled' if XS is enabled.  This is only partial, but I think
that it is right.

I'll see if I can do something with build_c_code especially, it could be
possible, and if not possible for now, I'll add a comment to explain
what could be done later on.

-- 
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.