On Jun 10, 2005, at 09:05, Jan Nieuwenhuizen wrote:
It would be nice if guile/libguile would have/support dynamic
relocation based on the location of the executable (be it guile or
lilypond).

Would configuring Guile with this option break executables linked against libguile and installed with different prefixes? Or is there something the application can do (aside from using the same prefix) to find the Guile code?

Below is an attempt that works, but I'm not sure about the api nor the
implementation.  What do you think?

I haven't reviewed it closely, but at first glance, you do seem to be assuming that whoever runs configure doesn't use the --bindir (etc) arguments, so that you know how to construct $bindir (etc) from a single prefix string. That's all well and fine, and probably correct 99% of the time, but it might be good to add a check in the configure script, and error out if one of the directory variables is set to something other than what's expected.

Ken


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel

Reply via email to