summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMarcel Dijkstra <[email protected]>2012-05-16 05:03:50 +0200
committerMarcel Dijkstra <[email protected]>2012-05-16 05:03:50 +0200
commitf8e78d8669e4ad9e2ccde3c2318b47e9563eb8d5 (patch)
tree4d336476b1c11281255e5a7ab173db9f17e273d2 /configure.ac
parent5e9a0ddfc5a35cb6b83840e9708914ab95d592ab (diff)
downloadeom-f8e78d8669e4ad9e2ccde3c2318b47e9563eb8d5.tar.bz2
eom-f8e78d8669e4ad9e2ccde3c2318b47e9563eb8d5.tar.xz
only depend on gmodule-2.0 if it exists
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 3221a8c..41dae02 100644
--- a/configure.ac
+++ b/configure.ac
@@ -93,8 +93,10 @@ MATE_ICON_THEME_REQUIRED=1.1.0
SHARED_MIME_INFO_REQUIRED=0.20
EXEMPI_REQUIRED=1.99.5
+PKG_CHECK_MODULES(GMODULE, gmodule-2.0, [GMODULE_ADD="gmodule-2.0"],[GMODULE_ADD=""])
EOM_MODULES="gtk+-2.0 >= $GTK_REQUIRED \
glib-2.0 >= $GLIB_REQUIRED \
+ $GMODULE_ADD \
gio-2.0 >= $GLIB_REQUIRED \
gthread-2.0 >= $GLIB_REQUIRED \
mate-desktop-2.0 >= $MATE_DESKTOP_REQUIRED \