And this one does not even use autoconf, d'oh!
XMAME development has stopped years ago in favor of SDLMAME (games-emulation/sdlmame), so this package should just be removed.
It still works fine. There's no plan to remove xmame any time soon.
Fixed, thanks.