Created attachment 130128 [details] [review]
The configure test for librsvg also checks for gdk-2.0 and this results in gtk being unnecessarily (as far as I can see) linked to cairo. Furthermore it prevents building cairo with the SVG backend enabled if gtk is not present.
This applies to cairo 1.14.8 and current HEAD as far as I can tell.
Note: Please update Bugzilla so that it is possible to report bugs against version 1.14.8 and previous 1.14.x versions.
After discussion on IRC, am closing this as I think it's invalid. The patch is certainly incorrect and affects tests rather than the main build. I cannot reproduce the original problem (cairo builds linking against gtk).