[PATCH]: adapt to new DBusWatch api

Jouni Malinen j at w1.fi
Mon Nov 5 22:36:23 EST 2007


On Tue, Nov 06, 2007 at 07:51:23AM +1000, Kel Modderman wrote:

> Most other projects around that adjusted to this new stuff used
> DBUS_VERSION_MAJOR, DBUS_VERSION_MINOR, DBUS_VERSION_MICRO that were
> generated by `pkg-config --modversion dbus-1` + script somewhere in the build system.

This sounds like the best option here if the dbus header files cannot be
assumed to have this sort of information. It would probably be fine to
drop DBUS_VERSION_MICRO though and just base API selection on 1.0 vs.
1.1. In general, I do not like adding dependencies on new mechanisms in
the build process, but since we are already using pkg-config for dbus,
this should be fine.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the HostAP mailing list