summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMarcel Dijkstra <[email protected]>2012-05-16 03:54:49 +0200
committerMarcel Dijkstra <[email protected]>2012-05-16 03:54:49 +0200
commitf0d7c1d5d701e6b01c22e5d88464064caeadb0c9 (patch)
treeb4fcd5abdcbf77a49381376bd3752170b939ff59 /configure.ac
parent5d39a44c94fabff2892bc64e16901795dba24a61 (diff)
downloadpluma-f0d7c1d5d701e6b01c22e5d88464064caeadb0c9.tar.bz2
pluma-f0d7c1d5d701e6b01c22e5d88464064caeadb0c9.tar.xz
only depend on gmodule-2.0 if it exists
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index ab6ee354..f973a5e6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -270,10 +270,11 @@ dnl ================================================================
dnl Start of pkg-config checks
dnl ================================================================
+PKG_CHECK_MODULES(GMODULE,gmodule-2.0,[GMODULE_ADD="gmodule-2.0"],[GMODULE_ADD=""])
PKG_CHECK_MODULES(PLUMA, [
libxml-2.0 >= 2.5.0
glib-2.0 >= 2.22.0
- gmodule-2.0 >= 2.0.0
+ $GMODULE_ADD
gthread-2.0 >= 2.13.0
gio-2.0 >= 2.23.1
gtk+-2.0 >= 2.16.0