From 941db158dd9b8feba94c9b2b6367ae255539ff2f Mon Sep 17 00:00:00 2001 From: Marcel Dijkstra Date: Wed, 16 May 2012 12:39:01 +0200 Subject: only depend on gmodule-2.0 if it exists --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index cc3ad57..59181f9 100644 --- a/configure.ac +++ b/configure.ac @@ -113,9 +113,11 @@ dnl --------------------------------------------------------------------------- REQ_GLIB_VERSION=2.18.0 REQ_DBUS_VERSION=0.78 REQ_LIBCANBERRA_GTK_VERSION=0.4 +PKG_CHECK_MODULES(GMODULE,gmodule-2.0,[GMODULE_ADD="gmodule-2.0"],[GMODULE_ADD=""]) pkg_modules=" gtk+-$GTK_API_VERSION >= $GTK_REQUIRED, \ glib-2.0 >= $REQ_GLIB_VERSION, \ + $GMODULE_ADD \ dbus-1 >= $REQ_DBUS_VERSION, \ dbus-glib-1 >= $REQ_DBUS_VERSION, \ libcanberra-gtk >= $REQ_LIBCANBERRA_GTK_VERSION, \ -- cgit v1.2.1