From e68635b8e4b0aee7d958c482abbadfc4321cf2b0 Mon Sep 17 00:00:00 2001 From: TingPing Date: Sat, 15 Jun 2013 17:26:10 -0300 Subject: Add configure patch from gentoo --- configure.ac | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 1beea6dd..4ccd1245 100644 --- a/configure.ac +++ b/configure.ac @@ -189,9 +189,10 @@ if test "$glib" = no; then AC_MSG_ERROR(Cannot find GLib!) fi -COMMON_CFLAGS="$GLIB_CFLAGS -DG_DISABLE_SINGLE_INCLUDES" -COMMON_LIBS="$GLIB_LIBS" -COMMON_LIBS="$COMMON_LIBS -lgmodule-2.0 -lgobject-2.0" +PKG_CHECK_MODULES([GOBJECT], [gobject-2.0], [], [AC_MSG_ERROR(Cannot find gobject-2.0!)]) + +COMMON_CFLAGS="$GLIB_CFLAGS $GOBJECT_CFLAGS -DG_DISABLE_SINGLE_INCLUDES" +COMMON_LIBS="$GLIB_LIBS $GOBJECT_LIBS" dnl ********************************************************************* dnl ** GTK ************************************************************** -- cgit 1.4.1