[pygi] Require PyCairo



commit a0e22e36e8cf0c1e0da3c0ec48c821fdb5a07ccd
Author: Tomeu Vizoso <tomeu sugarlabs org>
Date:   Sat Apr 17 11:47:54 2010 -0400

    Require PyCairo

 configure.ac |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 544bcf7..9539157 100644
--- a/configure.ac
+++ b/configure.ac
@@ -41,6 +41,7 @@ PKG_CHECK_MODULES(GNOME,
 	glib-2.0 >= 2.20
 	gobject-introspection-1.0 >= 0.6.4
 	pygobject-2.0 >= 2.20
+	pycairo >= 1.0.2
 )
 
 INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
@@ -49,12 +50,6 @@ INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspecti
 AC_SUBST(INTROSPECTION_SCANNER) 
 AC_SUBST(INTROSPECTION_COMPILER) 
 
-m4_define(pycairo_required_version,    1.0.2)
-PKG_CHECK_MODULES(PYCAIRO, [pycairo >= pycairo_required_version],
-        have_pycairo=true, have_pycairo=false)
-AC_SUBST(PYCAIRO_CFLAGS)
-AC_SUBST(PYCAIRO_LIBS)
-
 AC_OUTPUT(
 	Makefile
 	gi/Makefile



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