GNOME Bugzilla – Bug 502926
pango-1.16.4 configure bug: can fail to accept cairo
Last modified: 2007-12-10 21:44:43 UTC
Steps to reproduce: 1. have a cairo installation with `pkg-config --libs cairo` returning more than '-lcairo' 2. ./configure (--> cairo found, but all cairo functions fail) 3. Stack trace: Other information: The pango-1.16.4/configure does the effort to set INSTALLED_CAIRO_LIBS=`PKG_CONFIG_DISABLE_UNINSTALLED=yes $PKG_CONFIG --libs cairo` correctly. But then, instead of using "$INSTALLED_CAIRO_LIBS", all subsequent tests simply use "-lcairo". As a result, with an installation where `pkg-config --libs cairo` returns more than just '-lcairo', all further tests fail. Workaround: Edit 'configure', substituting all lines LIBS="-lcairo $LIBS" with LIBS="$INSTALLED_CAIRO_LIBS $LIBS"
It was trying to set LDFLAGS instead of LIBS... Fixed in pango-1-18 branch and trunk. 2007-12-10 Behdad Esfahbod <behdad@gnome.org> Bug 502926 – pango-1.16.4 configure bug: can fail to accept cairo * configure.in: Fix cairo library checking.