On Wednesday 04 September 2002 6:15 pm, Lars Gullik Bjønnes wrote:
> Andre Poenitz <[EMAIL PROTECTED]> writes:
> | On Wed, Sep 04, 2002 at 05:30:51PM +0100, Angus Leeming wrote:
> | > Ie, when configuring --with-frontend=xforms get lib/configure to add a
> | > line to lib/lyxrc.defaults:
> | >   \converter lyxpreview ppm "lyxpreview2bitmap.sh" ""
> | > and when configuring --with-frontend=qt2 have a line
> | >   \converter lyxpreview png "lyxpreview2bitmap.sh" ""
> | >
> | > Would that not be a good solution?
> |
> | Why not.
>
> Hmm... wouldn't it be better to have the qt part prefere png and let
> xforms prefere ppm?
>
> The graphcis code could just query the gui in use.

Yuch! Let the user specify what he wants. If he wants to write his own script 
that's fine by me. Hard coding for the sake of it is evil!

> | Because I don't think lib/configure knows anything about
> | --with-frontend=xforms/qt2
> |
> | (fortissimo) Laaaaaarrrrrrrssssssss! (sotto-voce) help!
>
> Are you sure?
>
> I would have thought that lib/configure would be called with the exact
> same parameters as the top-level configure...
>
> So you only need to handle it in lib/configure...

I'll have a look sometime. Incidentally I have another question for you... 
(to follow)

Angus

Reply via email to