2007-07-18 Alex Roitman <shura@gramps-project.org>
* configure.in: Revert checks for pycairo to 1.2.0. svn: r8738
This commit is contained in:
		@@ -97,13 +97,13 @@ then
 | 
			
		||||
fi
 | 
			
		||||
AC_MSG_RESULT($has_pygtk)
 | 
			
		||||
 | 
			
		||||
AC_MSG_CHECKING(Python bindings for cairo (python-cairo>=1.2.6))
 | 
			
		||||
AC_MSG_CHECKING(Python bindings for cairo (python-cairo>=1.2.0))
 | 
			
		||||
cat > conftest.py <<EOF
 | 
			
		||||
$pygtk_require
 | 
			
		||||
try:
 | 
			
		||||
    import cairo
 | 
			
		||||
    version = cairo.version_info
 | 
			
		||||
    if version >= (1,2,6):
 | 
			
		||||
    if version >= (1,2,0):
 | 
			
		||||
        print_version = '.'.join([[str(i) for i in version]])
 | 
			
		||||
        out(print_version)
 | 
			
		||||
    else:
 | 
			
		||||
@@ -120,7 +120,7 @@ if test NO = "$has_cairo"
 | 
			
		||||
then
 | 
			
		||||
   AC_MSG_ERROR([
 | 
			
		||||
 | 
			
		||||
**** The python bindings for cairo (python-cairo>=1.2.6) could not be found.])
 | 
			
		||||
**** The python bindings for cairo (python-cairo>=1.2.0) could not be found.])
 | 
			
		||||
fi
 | 
			
		||||
AC_MSG_RESULT($has_cairo)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user