* configure.in: Revert checks for pycairo.

svn: r8739
This commit is contained in:
Alex Roitman 2007-07-18 19:26:37 +00:00
parent d24c53e271
commit a733ad271b
2 changed files with 1 additions and 28 deletions

View File

@ -1,5 +1,5 @@
2007-07-18 Alex Roitman <shura@gramps-project.org>
* configure.in: Revert checks for pycairo to 1.2.0.
* configure.in: Revert checks for pycairo.
2007-07-18 Johan Gonqvist <johan.gronqvist@gmail.com>
* src/plugins/NarrativeWeb.py:

View File

@ -97,33 +97,6 @@ then
fi
AC_MSG_RESULT($has_pygtk)
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,0):
print_version = '.'.join([[str(i) for i in version]])
out(print_version)
else:
out("NO")
except ImportError:
out("NO")
except AttributeError:
out("NO")
EOF
$PYTHON conftest.py
has_cairo=`cat conftest.out`
rm -f conftest.out conftest.py
if test NO = "$has_cairo"
then
AC_MSG_ERROR([
**** The python bindings for cairo (python-cairo>=1.2.0) could not be found.])
fi
AC_MSG_RESULT($has_cairo)
AC_MSG_CHECKING(Python bindings for gnome)
cat > conftest.py <<EOF
$pygtk_require