Hi, I recently pulled the latest version of yocto (1.1+snapshot-20120119) and oprofileui doesn't pass do_configure, citing it cannot find avahi-glib and avahi-client. I think this might be related to a commit by Saul Wold (comit c89aa6a2b22e05e98991cc5b56d6ec869cf9c69a; http://cgit.openembedded.org/openembedded-core/commit/?id=c89aa6a2b22e05e98991cc5b56d6ec869cf9c69a), when he changed the dependency from avahi to avahi-ui. I added the dependency back in, so now oprofileui.inc includes DEPENDS avahi as well as avahi-ui and everything works now.
I would need more information about what target and machine you are building, I just tried a clean build here to check this issue and avahi built belfore avahi-ui since avahi-ui depends on avahi, and then oprofileui built correctly.
I build core-image-sato for an overo machine using the meta-texasinstruments and meta-gumstix layers... The funny thing is that avahi seemingly did build for me, the pkgconfig files were in the sysroot, yet, the configure failed to find them. It did find them as soon as I made the dependency explicit in there.
I build this both using oe-core (no distro) and poky, they both worked correctly and dependencies set up via avahi-ui and avahi where found by configure.