changeset 3107:2a8eb3450ea4

Link GIO plugin against libgio.
author John Lindgren <john.lindgren@tds.net>
date Thu, 30 Apr 2009 18:14:57 -0400
parents a0628e5f3074
children 9978be206b93
files configure.ac extra.mk.in src/gio/Makefile
diffstat 3 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac	Thu Apr 30 12:35:54 2009 -0500
+++ b/configure.ac	Thu Apr 30 18:14:57 2009 -0400
@@ -150,6 +150,11 @@
     [AC_MSG_ERROR([Cannot find Gtk+2 >= 2.10.0])]
 )
 
+PKG_CHECK_MODULES(GIO, [gio-2.0 >= 2.0],
+    [ADD_PC_REQUIRES([gio-2.0 >= 2.0])],
+    [AC_MSG_ERROR([Cannot find GIO >= 2.0])]
+)
+
 PKG_CHECK_MODULES(PANGO, [pango >= 1.8.0],
     [ADD_PC_REQUIRES([pango >= 1.8.0])],
     [AC_MSG_ERROR([Cannot find Pango >= 1.8.0])]
--- a/extra.mk.in	Thu Apr 30 12:35:54 2009 -0500
+++ b/extra.mk.in	Thu Apr 30 18:14:57 2009 -0400
@@ -134,6 +134,7 @@
 GLIBC21 ?= @GLIBC21@
 GLIB_CFLAGS ?= @GLIB_CFLAGS@
 GLIB_LIBS ?= @GLIB_LIBS@
+GIO_LIBS ?= @GIO_LIBS@
 GMODULE_CFLAGS ?= @GMODULE_CFLAGS@
 GMODULE_LIBS ?= @GMODULE_LIBS@
 GMSGFMT ?= @GMSGFMT@
--- a/src/gio/Makefile	Thu Apr 30 12:35:54 2009 -0500
+++ b/src/gio/Makefile	Thu Apr 30 18:14:57 2009 -0400
@@ -9,4 +9,4 @@
 
 CFLAGS += ${PLUGIN_CFLAGS}
 CPPFLAGS += ${PLUGIN_CPPFLAGS} ${MOWGLI_CFLAGS}  ${GTK_CFLAGS} ${GLIB_CFLAGS}  ${ARCH_DEFINES} ${XML_CPPFLAGS} -I../..
-LIBS += ${GTK_LIBS} ${GLIB_LIBS}  ${XML_LIBS}
+LIBS += ${GTK_LIBS} ${GLIB_LIBS} ${GIO_LIBS} ${XML_LIBS}