Per summary. This caused a problem for a system using binary packages built by a build host... (workaround was to uninstall libXinerama from the build host and rebuild xterm - alternatively i could have installed the useless libXineramaa on the system, but didnt want to). (I suppose it should either have a xinerama use flag to control this behaviour and have the depend as-needed, or not link at all if it isnt necessary...)
xterm's configure script checks if the library is available, and will build correctly (without the feature) if not.
(In reply to Thomas Dickey from comment #1) That was the point. There is no configure switch to disable xinerama.
(In reply to Thomas Dickey from comment #1) > xterm's configure script checks if the library is available, and will > build correctly (without the feature) if not. This is known as automagic, and is deeply frowned upon in gentoo style. It opens traps for the package in case of future changes. You need deal with in a way that overcomes automagic and will provide certainty in all conditions. General rule, either hard set it or make it work off a use flag.
xterm-325 has been released, with the option to disable xinerama support. I have added a USE flag for it. commit b68c1247c8d4ad15fde9a1abf0e5c7007f400936 Author: Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> Date: Thu Jun 9 22:06:11 2016 +0200 x11-terms/xterm: make building xinerama support optional Bug: https://bugs.gentoo.org/show_bug.cgi?id=580936