pkg-config vs X11

Anders F Björklund afb at algonet.se
Wed Oct 15 23:00:32 CEST 2008


Hi, I'm having some trouble with "xfce4-settings" trying
to find X11 and friends by using pkg-config on Darwin...

My trouble is that for older versions like Mac OS X 10.4,
there are no .pc files for the required libraries - even
if the libraries themselves are installed in /usr/X11R6.
So currently I had to patch the configure file for that.

Is there a way to make it work "out-of-the-box" perhaps ?
XDT_CHECK_PACKAGE([XI], [xi], [1.0.0])
XDT_CHECK_PACKAGE([LIBX11], [x11], [1.0.0])
XDT_CHECK_PACKAGE([XRANDR], [xrandr], [1.1.0])

Newer versions, like Mac OS X 10.5, do have the pkgconfig
files (in /usr/X11) so there it should work just fine...

--anders

PS. The program seems to work just fine with the libs.




More information about the Xfce4-dev mailing list