* configure.in: Revert checks for pycairo.
svn: r8739
This commit is contained in:
parent
d24c53e271
commit
a733ad271b
@ -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:
|
||||
|
27
configure.in
27
configure.in
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user