diff options
author | Guido Günther <agx@sigxcpu.org> | 2011-05-01 13:46:09 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2011-05-01 14:28:32 +0200 |
commit | 4b4c334827a8639c246bcbc717288a133d55b754 (patch) | |
tree | 211efaf2d30c6fc60916fcbb926c5ab51f658393 | |
parent | 8981216d64d501530549836c49fc2844466f9de6 (diff) |
Check for dependencies
-rw-r--r-- | README | 2 | ||||
-rw-r--r-- | configure.ac | 10 |
2 files changed, 11 insertions, 1 deletions
@@ -13,7 +13,7 @@ Requirements * ModemManager with ussd support (current git) * mobile-broadband-provider-info with top-up support (current git) * GTK+ >= 3.0.0, Debian package: libgtk+-3-0 -* PyGI >= 2.28.3, Debian package: python-gobject +* PyGObject >= 2.28.3, Debian package: python-gobject * DBus Python Bindings >= 0.83, Debian package: python-dbus Project Page diff --git a/configure.ac b/configure.ac index e35224f..39bcb9e 100644 --- a/configure.ac +++ b/configure.ac @@ -7,6 +7,16 @@ AM_INIT_AUTOMAKE([-Wno-portability]) IT_PROG_INTLTOOL([0.35.0]) +GLIB_REQUIRED=2.25.6 +GTK_REQUIRED=3.0.0 +PYGOBJECT_REQUIRED=2.28.3 +DBUS_PYTHON_REQUIRED=0.83 + +PKG_CHECK_MODULES(PPM, [glib-2.0 >= $GLIB_REQUIRED + gtk+-3.0 >= $GTK_REQUIRED + pygobject-2.0 >= $PYGOBJECT_REQUIRED + dbus-python >= $DBUS_PYTHON_REQUIRED]) + GETTEXT_PACKAGE=prepaid-manager-applet AC_SUBST(GETTEXT_PACKAGE) AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [Gettext package]) |