Actually it turns out that this only happens when openmotif is compiled
with xft support and xemacs is compiled without it, which is not very
likely. In fact, with Gentoo we don't allow that combination, and I only
stumbled upon it by circumventing the system :-/
Still it's probably better to prefix such an internal define.