From 4b4c334827a8639c246bcbc717288a133d55b754 Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Sun, 1 May 2011 13:46:09 +0200 Subject: Check for dependencies --- README | 2 +- configure.ac | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/README b/README index 311b698..ee55533 100644 --- a/README +++ b/README @@ -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]) -- cgit v1.2.3