summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorSteev Klimaszewski <[email protected]>2012-08-17 17:37:42 -0500
committerSteev Klimaszewski <[email protected]>2012-08-18 19:38:58 -0500
commitb8ac2f36147437b3e59a8f41f11261246acfcc4e (patch)
treeecb04acbe1624091f5987effca5ac546816b4740 /configure.in
parentf0dfa44f76c332b529d5c67ef8b2ba4639cddb09 (diff)
downloadlibmatekbd-b8ac2f36147437b3e59a8f41f11261246acfcc4e.tar.bz2
libmatekbd-b8ac2f36147437b3e59a8f41f11261246acfcc4e.tar.xz
Fix building with glib >= 2.32
Glib 2.32 has split out gmodule to it's own library. Due to this, do a check for gmodule not just glib. Also add GMODULE_LIBS to libmatekbd/Makefile.am to prevent underlinking. Signed-off-by: Steev Klimaszewski <[email protected]>
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 3320fc8..db81cad 100644
--- a/configure.in
+++ b/configure.in
@@ -84,9 +84,11 @@ IT_PROG_INTLTOOL([0.35.0])
AC_CHECK_FUNCS(setlocale)
PKG_CHECK_MODULES(GLIB, glib-2.0 >= $GLIB_REQUIRED)
+PKG_CHECK_MODULES(GMODULE, gmodule-2.0, [GMODULE_ADD="gmodule-2.0"],[GMODULE_ADD=""])
AC_SUBST(GLIB_CFLAGS)
AC_SUBST(GLIB_LIBS)
+AC_SUBST(GMODULE_LIBS)
PKG_CHECK_MODULES(MATECONF, mateconf-2.0 >= $MATECONF_REQUIRED)