Well, ATM you would need to copy test from FriCAS configure.
'config.lisp' finds needed information. In '
configure.ac'
'fricas_lisp_flavor' and 'fricas_lisp_version' contain
needed information, but that is not propagated to bianary
so one would have to recompute it.
--
Waldek Hebisch