Try running pkg-config with PKG_CONFIG_DEBUG_SPEW=1 set in your environ.

I get:

:; env PKG_CONFIG_DEBUG_SPEW=1 pkg-config --cflags xproto

,----< env PKG_CONFIG_DEBUG_SPEW=1 pkg-config --cflags xproto >
| === many lines elided ===
| Path position of 'Xproto' is 2
| Package Xproto has -I/usr/include in Cflags
| Removing -I/usr/include from cflags for xproto
| Adding 'xproto' to list of known packages, returning as package 'xproto'
|  original:  Xproto 
|  sorted:  Xproto 
|  original:  Xproto 
|  sorted:  Xproto 
|  
`----

(I had to compile pkg-config with -ggdb -O0 and try tracing thru to
discover the existance of PKG_CONFIG_DEBUG_SPEW.)

-JimC
-- 
James Cloos <[email protected]>         OpenPGP: 1024D/ED7DAEA6
_______________________________________________
xorg mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/xorg

Reply via email to