From 37d92dd69ce2d8c8b825992a757c4215f1fb3809 Mon Sep 17 00:00:00 2001 From: TingPing Date: Wed, 15 Jan 2014 13:20:15 -0500 Subject: [PATCH] Check for gio during configure --- configure.ac | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 688ffb38..a7739ebf 100644 --- a/configure.ac +++ b/configure.ac @@ -184,9 +184,10 @@ if test "$glib" = no; then fi PKG_CHECK_MODULES([GOBJECT], [gobject-2.0], [], [AC_MSG_ERROR(Cannot find gobject-2.0!)]) +PKG_CHECK_MODULES([GIO], [gio-2.0], [], [AC_MSG_ERROR(Cannot find gio-2.0!)]) -COMMON_CFLAGS="$GLIB_CFLAGS $GOBJECT_CFLAGS -DG_DISABLE_SINGLE_INCLUDES" -COMMON_LIBS="$GLIB_LIBS $GOBJECT_LIBS -lgmodule-2.0" +COMMON_CFLAGS="$GLIB_CFLAGS $GIO_CFLAGS $GOBJECT_CFLAGS -DG_DISABLE_SINGLE_INCLUDES" +COMMON_LIBS="$GLIB_LIBS $GIO_LIBS $GOBJECT_LIBS -lgmodule-2.0" dnl ********************************************************************* dnl ** GTK **************************************************************