The source project of this merge request has been removed.
Fix compilation without cairo
This uses HAVE_CAIROMM. I didn't see the need to define a new variable since if HAVE_CAIROMM got defined then configure will have ensured the presence of pycairo as well.