See the Emacs man page, or the etc/OPTIONS file. Ignore the information in etc/XDOC which is way out of date.