Michael Sperber writes:
> Mike can tell you the rationale better, but basically, if you
specify
> anything other than --prefix, you had better specify everything.
No, not in general. The problem is that there isn't a strict hierarchy
in the paths. However, lispdir does depend on datadir, at least in
theory, so I don't quite know what's going on.
In practice, what ends up in src/paths.h is totally bogus. When I ran
configure with Ville's directory options "--prefix=/usr
--datadir=/usr/share ...", I got DATADIR per the option, but LISPDIR
ended up being /usr/lib/xemacs-21.5-b28/lisp. So LISPDIR *did* get
edited by configure, but to the wrong thing.
Is this right? Shouldn't that last clause be datadir='${prefix}/share'?
if test "x$datadir_expanded" != "x$prefix_expanded/share"
then
AC_DEFINE(INFODIR_USER_DEFINED)
AC_DEFINE(LISPDIR_USER_DEFINED)
AC_DEFINE(MODULEDIR_USER_DEFINED)
AC_DEFINE(ETCDIR_USER_DEFINED)
AC_DEFINE(DOCDIR_USER_DEFINED)
AC_DEFINE(ARCHLIBDIR_USER_DEFINED)
else
datadir='${prefix}/lib'
fi
I don't think this explains Ville's report, though.
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta