To get the value of a variable, the function is
texinfo_get_conf:
$result = texinfo_get_conf ($variable_name) ¶$variable_name is the name of the variable; its value (possibly
undef) is returned.
For example:
if (texinfo_get_conf('footnotestyle') eq 'separate') { ... }