>>>>> "Jan" == Jan Vroonhof <[EMAIL PROTECTED]> writes:
Jan> [This is my first patch to LyX, be patient with me]
Hello,
Of course, we are going to be patient. We need to lure more people
into working on LyX :)
Jan> The sysadmins here prefer the following structure, the full lyx
Jan> tree under the prefix
Jan> /usr/local/app/lyx/lyx-1.0.0/
Jan> and then lyx in /usr/local/bin symlinked to
Jan> /usr/local/app/lyx/lyx-1.0.0/bin/lyx.
Jan> They would prefer not have to the paths compiled and also prefer
Jan> not having to symlink the rest of the tree.
Jan> The below patch makes that possible.
This patch looks like a good idea, indeed. I think however that the
part which reads the symlink should be moved to a generic function in
filetools.C; it does not belong to lyx_main.C.
Another concern: how portable is readlink()? Is it commonly supported
on all unices? What to do about OS/2?
I'd be glad to commit your patch if you can reorganize the code a bit.
Thanks,
JMarc