From f0d7c1d5d701e6b01c22e5d88464064caeadb0c9 Mon Sep 17 00:00:00 2001 From: Marcel Dijkstra Date: Wed, 16 May 2012 03:54:49 +0200 Subject: [PATCH] only depend on gmodule-2.0 if it exists --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index ab6ee35..f973a5e 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