d614f6095d
described in the handbook.
(1) Define REQUIRES_MOTIF in the Makefile.
(2) Use ${MOTIFLIB} in place of -lXm, this makes it possible to link
it statically as well as dynamically.