only depend on gmodule-2.0 if it exists

This commit is contained in:
Marcel Dijkstra 2012-05-16 03:54:49 +02:00
parent 5d39a44c94
commit f0d7c1d5d7
1 changed files with 2 additions and 1 deletions

View File

@ -270,10 +270,11 @@ dnl ================================================================
dnl Start of pkg-config checks dnl Start of pkg-config checks
dnl ================================================================ dnl ================================================================
PKG_CHECK_MODULES(GMODULE,gmodule-2.0,[GMODULE_ADD="gmodule-2.0"],[GMODULE_ADD=""])
PKG_CHECK_MODULES(PLUMA, [ PKG_CHECK_MODULES(PLUMA, [
libxml-2.0 >= 2.5.0 libxml-2.0 >= 2.5.0
glib-2.0 >= 2.22.0 glib-2.0 >= 2.22.0
gmodule-2.0 >= 2.0.0 $GMODULE_ADD
gthread-2.0 >= 2.13.0 gthread-2.0 >= 2.13.0
gio-2.0 >= 2.23.1 gio-2.0 >= 2.23.1
gtk+-2.0 >= 2.16.0 gtk+-2.0 >= 2.16.0