>>>>> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:

Angus> Do we need an os_mac.C?

Well, that's difficult to do. Currently (besides the bundle hack you
noticed) all the special mac support is in frontends/qt2 conditioned
on Q_WS_MACX. This is because it is not possible outside of the
frontend to ascertain whether we want to build LyX/Mac or LyX/Unix
when we are under darwin.

I think this is not a matter of os, but of packaging. I propose (maybe
in the long term) to have a --with-packaging option (any better term
is welcome) that can be either osx, win32 or unix and that this option
control a package:: namespace where the code from path_defines is put
(in three different versions probably).

Also, this --with-packaging option will be able to set the various
Makefile variables correctly.

This packaging thing would set up lyxdir, userdir, localedir, document
dir and things like that according to the platforms conventions.

We can either do this now for 1.4.0cvs or replace temporarily with a
hack. For 1.3.6cvs, the hack is probably a better idea.

JMarc

Reply via email to