summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorMarcel Dijkstra <[email protected]>2012-05-16 01:54:29 +0200
committerMarcel Dijkstra <[email protected]>2012-05-16 01:54:29 +0200
commitf6e7ded9039d35f3e9c26ca10a8bf242ed4198e2 (patch)
treee625dc1fad1fd9175b086acfaaa2680e43759c23 /configure.in
parente4be2442cab4116d8d6c6fdb69efeeefd7ed78e2 (diff)
downloadmate-system-monitor-f6e7ded9039d35f3e9c26ca10a8bf242ed4198e2.tar.bz2
mate-system-monitor-f6e7ded9039d35f3e9c26ca10a8bf242ed4198e2.tar.xz
only depend on gmodule-2.0 if it exists
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 3066bb8..78b30a5 100644
--- a/configure.in
+++ b/configure.in
@@ -25,7 +25,6 @@ AC_HEADER_STDC
MATE_COMPILE_WARNINGS
GLIB_REQUIRED=2.16.0
-GMODULE_REQUIRED=2.0.0
MATECONF_REQUIRED=1.1.0
LIBWNCK_REQUIRED=2.5.0
LIBGTOP_REQUIRED=2.23.1
@@ -38,7 +37,8 @@ LIBXML_REQUIRED=2.0
RSVG_REQUIRED=2.12
DBUS_REQUIRED=0.7
-PKG_CHECK_MODULES(PROCMAN,gmodule-2.0 >= $GMODULE_REQUIRED glib-2.0 >= $GLIB_REQUIRED mateconf-2.0 >= $MATECONF_REQUIRED libgtop-2.0 >= $LIBGTOP_REQUIRED libwnck-1.0 >= $LIBWNCK_REQUIRED gtk+-2.0 >= $GTK_REQUIRED mate-icon-theme >= $MATE_ICON_THEME_REQUIRED gtkmm-2.4 >= $GTKMM_REQUIRED libxml-2.0 >= $LIBXML_REQUIRED librsvg-2.0 >= $RSVG_REQUIRED glibmm-2.4 >= $GLIBMM_REQUIRED giomm-2.4 >= $GIOMM_REQUIRED dbus-glib-1 >= $DBUS_REQUIRED)
+PKG_CHECK_MODULES(GMODULE,gmodule-2.0,[GMODULE_ADD="gmodule-2.0"],[GMODULE_ADD=""])
+PKG_CHECK_MODULES(PROCMAN,$GMODULE_ADD glib-2.0 >= $GLIB_REQUIRED mateconf-2.0 >= $MATECONF_REQUIRED libgtop-2.0 >= $LIBGTOP_REQUIRED libwnck-1.0 >= $LIBWNCK_REQUIRED gtk+-2.0 >= $GTK_REQUIRED mate-icon-theme >= $MATE_ICON_THEME_REQUIRED gtkmm-2.4 >= $GTKMM_REQUIRED libxml-2.0 >= $LIBXML_REQUIRED librsvg-2.0 >= $RSVG_REQUIRED glibmm-2.4 >= $GLIBMM_REQUIRED giomm-2.4 >= $GIOMM_REQUIRED dbus-glib-1 >= $DBUS_REQUIRED)
AC_ARG_ENABLE(more-warnings,