Re: [gtk-vnc-devel] [PATCH] Clear up LIBS/LDFLAGS confusion in configure.ac



On Thu, Oct 30, 2008 at 03:06:08PM +0000, Daniel P. Berrange wrote:
> There is no such GTK_LDFLAGS variable only GTK_LIBS, so
> all the LDFLAGS stuff should just be remove

Confirmed ... try this patch instead.

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top
diff -r 47135c91cd9c configure.ac
--- a/configure.ac	Thu Oct 09 11:23:09 2008 -0400
+++ b/configure.ac	Thu Oct 30 15:04:54 2008 +0000
@@ -115,12 +115,12 @@
 AC_SUBST(GTK_LIBS)
 
 save_CFLAGS="$CFLAGS"
-save_LDFLAGS="$LDFLAGS"
+save_LIBS="$LIBS"
 CFLAGS="$CFLAGS $GTK_CFLAGS"
-LDFLAGS="$LDFLAGS $GTK_LIBS"
+LIBS="$LIBS $GTK_LIBS"
 AC_CHECK_FUNC([gdk_cairo_create], [WITH_GTK_CAIRO=1], [WITH_GTK_CAIRO=0])
 CFLAGS="$save_CFLAGS"
-LDFLAGS="$save_LDFLAGS"
+LIBS="$save_LIBS"
 
 AC_DEFINE_UNQUOTED(WITH_GTK_CAIRO, [$WITH_GTK_CAIRO], [Whether to use cairo for GTK rendering])
 


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