diff --git a/ChangeLog b/ChangeLog index e22383daf..7c701f224 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2007-07-08 Alex Roitman + * configure.in: Add check for python-cairo>=1.2.6. + 2007-07-08 Don Allingham * src/DbManager.py: Add support for Thunar, which stores the DND information in a different area (and probably a more correct area) than diff --git a/configure.in b/configure.in index 2bcd6edcc..08d45114f 100644 --- a/configure.in +++ b/configure.in @@ -97,6 +97,33 @@ then fi AC_MSG_RESULT($has_pygtk) +AC_MSG_CHECKING(Python bindings for cairo (python-cairo>=1.2.6)) +cat > conftest.py <= (1,2,6): + 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.6) could not be found.]) +fi +AC_MSG_RESULT($has_cairo) + AC_MSG_CHECKING(Python bindings for gnome) cat > conftest.py <