From 1d339e29a782de8962379652635c9ee42988d99c Mon Sep 17 00:00:00 2001 From: Arx Cruz Date: Tue, 19 Jul 2011 14:33:28 -0300 Subject: Enable html support in --text-info option. This fix bug #598655, thanks for the work from Francis Meyvis francis.meyvis at gmail dot com. Two new options in --text-info: * --html - enable HTML support. * --url - load an url If you need to load a local html file, you can use --filename=patch/to/html. Examples: * zenity --text-info --html --filename=file.html * zenity --text-info --html --url=www.gnome.org Zenity will add http:// if isn't declared in --url --- configure.ac | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index db01bf7e..84e2c364 100644 --- a/configure.ac +++ b/configure.ac @@ -76,6 +76,28 @@ if test x$enable_libnotify = xyes; then fi fi +# ******************************* +# webkit check +# ******************************* + +WEBKITGTK_REQUIRED=1.4.0 + +AC_ARG_ENABLE([webkitgtk], + [AS_HELP_STRING([--enable-webkitgtk], + [Enable webkit support])], + [], + [enable_webkitgtk=yes]) + +if test x$enable_webkitgtk = xyes; then + PKG_CHECK_MODULES([WEBKIT], [webkitgtk-3.0 >= $WEBKITGTK_REQUIRED], + [HAVE_WEBKITGTK="yes"],[HAVE_WEBKITGTK="no"]) + AC_SUBST([WEBKIT_CFLAGS]) + AC_SUBST([WEBKIT_LIBS]) + if test "x$HAVE_WEBKITGTK" = "xyes"; then + AC_DEFINE([HAVE_WEBKITGTK], [1], [webkitgtk is available on this machine]) + fi +fi + # ******************************* # Debug # ******************************* -- cgit