Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono-tools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Kestner <mkestner@gmail.com>2007-11-09 01:56:32 +0300
committerMike Kestner <mkestner@gmail.com>2007-11-09 01:56:32 +0300
commite068831e6d3f89bb72facd59d62b57196f7f5cbc (patch)
tree3f04bd64e004d267027bc11a8dce642fac3f7353 /configure.in
parent9ae9be9c4f373003b86b14c6793b4f2b963e94c6 (diff)
2007-11-08 Mike Kestner <mkestner@novell.com>
* configure.in: configure checks for gtkhtml-sharp-3.14 with fallback to 2.0. 2007-11-08 Mike Kestner <mkestner@novell.com> * PrintManager.cs: extracted existing duplicated print code from the two renderers and put it here, along with a new Gtk.Print based implementation for gtkhtml-sharp 3.14 and beyond. * GeckoHtmlRender.cs: refactor to use PrintManager. * GtkHtmlHtmlRender.cs : ditto. * Makefile.am : add some gtkhtml library install magic. svn path=/trunk/mono-tools/; revision=89284
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in11
1 files changed, 10 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index db6d5e9c..56f9f304 100644
--- a/configure.in
+++ b/configure.in
@@ -42,11 +42,20 @@ PKG_CHECK_MODULES(GTK_SHARP, gtk-sharp-2.0 glade-sharp-2.0 gconf-sharp-2.0)
AC_SUBST(GTK_SHARP_LIBS)
+PKG_CHECK_MODULES(GTKHTML_SHARP, gtkhtml-sharp-3.14, enable_gtkhtml=yes, enable_gtkhtml=no)
+if test "x$enable_gtkhtml" = "xyes"; then
+GTKHTMLDLLCOPY=`pkg-config --variable=Libraries gtkhtml-sharp-3.14`
+CSHARP_FLAGS="-d:GTKHTML_SHARP_3_14"
+else
PKG_CHECK_MODULES(GTKHTML_SHARP, gtkhtml-sharp-2.0, enable_gtkhtml=yes, enable_gtkhtml=no)
+CSHARP_FLAGS=
+GTKHTMLDLLCOPY=
+fi
AC_SUBST(GTKHTML_SHARP_LIBS)
+AC_SUBST(GTKHTMLDLLCOPY)
+AC_SUBST(CSHARP_FLAGS)
AM_CONDITIONAL(ENABLE_GTKHTML, test "x$enable_gtkhtml" = "xyes")
-
PKG_CHECK_MODULES(GECKO_SHARP, gecko-sharp-2.0, enable_gecko=yes, enable_gecko=no)
AC_SUBST(GECKO_SHARP_LIBS)
AM_CONDITIONAL(ENABLE_GECKO, test "x$enable_gecko" = "xyes")