The current configure script checks for xrender using "pkg-config xrender".
This does not work on a stock solaris install even though solaris supports
xrender. A better way might be to search for a function within libXrender
Humm, I wonder why Solaris doesn't ship the pkg config files for Xrender. BTW, I don't think replacing the pkg-config test with AC_CHECK_LIB() would be a good plan as pkg-config gives usefull informations about CFLAGS and LDFLAGS required to link with the lib.
The best would be to fallback to AC_CHECK_LIB() in case pkg-config returns no result, in case.
I don't have access to a Solaris box, so a patch would be welcome ;)
How about this..
bursar:/tmp/.../xfwm4-18.104.22.168 > diff configure.ac /tmp/configure.ac
> dnl fallback to check for libXrender
> AC_CHECK_LIB([Xrender], [XRenderCreatePicture],
> [ have_render="yes"
> RENDER_LIBS=" -lXrender"
> AC_DEFINE([HAVE_RENDER], , [Define to enable render])
If that works on Solaris, I'm fine with it.
Applied on svn trunk.