>>>> "Jerry" == Jerry James
<james(a)eecs.ku.edu> writes:
Jerry> We should also consider Hrvoje's suggestion that we make it possible to
Jerry> unpack a GNU MP tarball into the XEmacs build tree, then detect and use
Jerry> it if there is no installed GNU MP library.
I'm not sure about including it directly in the tarball but there are other
situations too where it would be good to be able to use a library that can't
be assumed to be part of the user's default configuration. The recent Carbon
port comes to mind, but Windows might be another one.
Instead of including the source, why not designate a directory in the source
tree (say third_party) in which any source trees found therein are build and
installed with the same paths as XEmacs. That would make a stand-alone
install tree that would also allow the user to mix and match XEmacs and
library versions (which is what pretty much happens already with the installed
libraries).
Jerry> This is somewhat complex because you really want to build GNU MP with
Jerry> optimizations for the CPU you actually have. An i386-optimized GNU MP
Jerry> performs terribly on a Pentium 4, for example.
It's not autodetected by GNU MP's configure? If not then our configure knows
the CPU type pretty early in the piece so there is no reason why it can't pass
it along when doing the GNU MP configure and build.
Malcolm
--
Malcolm Purvis <malcolmp(a)xemacs.org>