diff options
author | Marcel Dijkstra <[email protected]> | 2012-05-16 12:39:01 +0200 |
---|---|---|
committer | Marcel Dijkstra <[email protected]> | 2012-05-16 12:39:01 +0200 |
commit | 941db158dd9b8feba94c9b2b6367ae255539ff2f (patch) | |
tree | 6b5cd2bccc8bcc4fb140e9ada417488355c1ae83 /configure.ac | |
parent | 73f4151156db00b2a0239fe45042588ae548ef3e (diff) | |
download | mate-notification-daemon-941db158dd9b8feba94c9b2b6367ae255539ff2f.tar.bz2 mate-notification-daemon-941db158dd9b8feba94c9b2b6367ae255539ff2f.tar.xz |
only depend on gmodule-2.0 if it exists
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
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, \ |