In a couple of responses to bug item #1572838:
1. An anonymous poster suggested remembering that you had been warned before, and
2. Thorsten asked if I would make this a separate item.
The attached patch does both of those.
If you are building NEdit with a statically linked Motif, there is of course no way they could not match. However it will still provide reporting of the runtime version in the version outputs.
I have not included the necessary addition of -DHAVE__XMVERSIONSTRING to the Makefiles because I can not test all the supported systems. The comments in each of the system specific makefiles already says what needs to be done.
I know _XmVersionString exists in OpenMotif from 2.1.30 and in all Solaris from 2.6 and AIX from 4.3.3. Earlier versions may work too.