Re: [gtk-vnc-devel] PATCH: 2/2: Render using cairo, allowing scaling



On Dom, 2008-09-07 at 17:25 +0100, Daniel P. Berrange wrote:

>  configure.ac     |   17 ++++++
>  src/vncdisplay.c |  141 ++++++++++++++++++++++++++++++++++++++++++++++---------
>  2 files changed, 136 insertions(+), 22 deletions(-)

Hi. I couldn't build this one because the checking on configure. It was
checking for the gdk_cairo_create() function in -lgdk. Here in Ubuntu it
didn't work.

Attached is a little patch that makes it work.

OK?
-- 
Jonh Wendell
http://www.bani.com.br
diff -r cf0e849385e0 configure.ac
--- a/configure.ac	Thu Sep 11 17:07:42 2008 +0100
+++ b/configure.ac	Fri Sep 12 15:32:41 2008 -0300
@@ -104,7 +104,7 @@
 save_LDFLAGS="$LDFLAGS"
 CFLAGS="$CFLAGS $GTK_CFLAGS"
 LDFLAGS="$LDFLAGS $GTK_LIBS"
-AC_CHECK_LIB([gdk], [gdk_cairo_create], [WITH_GTK_CAIRO=1], [WITH_GTK_CAIRO=0])
+AC_CHECK_FUNC([gdk_cairo_create], [WITH_GTK_CAIRO=1], [WITH_GTK_CAIRO=0])
 CFLAGS="$save_CFLAGS"
 LDFLAGS="$save_LDFLAGS"
 


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