On Thu, Nov 25, 2010 at 03:03:57PM +0100, Jan Palus wrote:

> I noticed a small problem with fontconfig dependency in latest release
> which probably works for you indirectly through libXft dependency. In
> rxvtfont.C you use symbols from libfontconfig but you don't link with
> the library directly. In case of linking with -Wl,--as-needed flag it
> fails in the end of build process becasue unresolved symbols are found
> in binary. I attach small patch to resolve the issue

Previously it worked because fontconfig was also in the Requires field
in xft .pc file. Now it is only in Requires.private

http://cgit.freedesktop.org/xorg/lib/libXft/commit/?id=8751e341bcc29952b4603e18767ab994653c6b01

The patch is not correct; configure should look for fontconfig only if
xft support is requested and should not enable xft support if fontconfig
is not available.

> (note the use of PKG_CHECK_MODULES, I was wondering why you are
> handling all the pkg-config details manually in configure.ac, and not
> using PKG_* macros?).

Is there an advantage in using PKG_CHECK_MODULES (the disadvantage is a
dependency on pkg-config m4 file) ?

Emanuele

_______________________________________________
rxvt-unicode mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/rxvt-unicode

Reply via email to