[accerciser] Updating configure.in



commit f672cdf06bbbf13e27bfc19a9fbf338317f8d7eb
Author: Javier HernÃndez <jhernandez emergya es>
Date:   Mon Aug 29 21:22:13 2011 +0200

    Updating configure.in

 configure.in |   21 +++++++++------------
 1 files changed, 9 insertions(+), 12 deletions(-)
---
diff --git a/configure.in b/configure.in
index 1306bfe..4d3b570 100644
--- a/configure.in
+++ b/configure.in
@@ -8,18 +8,15 @@ GNOME_DOC_INIT([0.17.3])
 dnl == check for python ==
 AM_PATH_PYTHON(2.4)
 
-dnl == avoid running pyreqs during package building ==
-AC_MSG_CHECKING([whether to run pyreqs.py])
-AC_ARG_WITH(pyreqs,
-    [  --with-pyreqs           Build with Python module checks.],
-    with_pyreqs=$withval,
-    with_pyreqs=yes)
-AC_MSG_RESULT($with_pyreqs)
-if test "$with_pyreqs" = "yes"; then
-  dnl == check for required modules ==
-  AM_CHECK_PYSCRIPT($srcdir/pyreqs.py, , 
-    [AC_MSG_ERROR(Could not find required Python module)])
-fi
+dnl == requeriments ==
+GTK_REQUIRED=3.1.13
+PYGOBJECT_REQUIRED=2.90.3
+ATSPI_REQUIRED=2.1.5
+
+dnl == check for requeriments ==
+PKG_CHECK_MODULES([GTK], [gtk+-3.0 >= GTK_REQUIRED])
+PKG_CHECK_MODULES([PYGOBJECT], [pygobject-3.0 >= PYGOBJECT_REQUIRED])
+PKG_CHECK_MODULES([ATSPI2], [atspi-2 >= ATSPI_REQUIRED])
 
 dnl == i18n ==
 GETTEXT_PACKAGE=accerciser



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]