(compare bug 323551)
Currently, configure.in adds a hardcoded list of libraries for fontconfig, freetype and xrender:
MOZ_CAIRO_LIBS="$MOZ_CAIRO_LIBS $XLDFLAGS -lXrender -lfreetype -lfontconfig"
It should use pkg-config for that.
I'm using Solaris for the build. Because of this bug, it always fails. I have to add "-L/usr/sfw/lib" to MOZ_CAIRO_LIBS.
Created attachment 266645 [details] [diff] [review]
Added pkg-config checks for required libs for in-tree cairo
This has since been fixed.