Re: Use GtkHTML: no?



Hi Peter:

> On 01/27/2010 07:50:26 PM Wed, Geoffrey Leach wrote:
> > On 01/27/2010 03:57:45 PM, Peter Bloomfield wrote:
> [ snip ]
> > > Perhaps there's a way to make the default --with-gtkhtml=no when
> > > --with-webkit is specified?
> > 
> > What actually happened was that you get --with-gtkhtml=no silently.
> 
> So, I'd suggest that we regard WebKit, GtkHtml2, and GtkHtml3 as alternative
>  backends for rendering HTML message parts.  Whatever the current preferred
> backend is (now GtkHtml-3, but I believe we're ready to make it WebKit),
> that should be configured by default.  Exercising any one option should
> override the default.  Exercising any two conflicting options should error
> out.  Does that sound reasonable?
> 
> If so, does anyone have the auto-magic skills to make it work?

Hmmm, you might want to replace these options by a new one, "--with-html-engine=(no|gtkhtml2|gtkhtml3|webkit)":

AC_ARG_WITH(
  html-engine,
  AC_HELP_STRING(
    [--with-html-engine=(no|gtkhtml2|gtkhtml3|webkit)],
    [select the HTML renderer (default gtkhtml3)]),
  [use_html_engine=$withval],
  [use_html_engine=gtkhtml3])

Then, it's just a "case" in the autoconf script, to run the necessary stuff for the selected option:

case "$use_html_engine" in
  gtkhtml2) ... ;;
  gtkhtml3) ... ;;
  webkit) ... ;;
  no) ... ;;
  *) AC_MSG_ERROR([bad option]) ;;
esac

Best, Albrecht.

Immer auf dem Laufenden! Sport, Auto, Reise, Politik und Promis. Von uns für Sie: der neue Arcor.de-Newsletter!
Jetzt anmelden und einfach alles wissen: http://www.arcor.de/rd/footer.newsletter


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]