When doing a --enable-static --disable-shared build of cairo-1.4.12, the resulting installed .pc files lack the Libs: dependencies. As a direct result, the 'configure' of pango (which depends on cairo) finds freetype and X11, but not cairo (it finds cairo, but all tests for functions in cairo fail). There should probably be a --enable-explicit-deps which should also be automatically enabled if --enable-static is present in configure (as there is in pango).
I'll commit any non-intrusive patch right away.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/cairo/cairo/issues/26.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.