]> xenbits.xensource.com Git - libvirt.git/commit
build: support libnl-3
authorSerge Hallyn <serge.hallyn@canonical.com>
Thu, 3 May 2012 16:10:50 +0000 (11:10 -0500)
committerEric Blake <eblake@redhat.com>
Thu, 3 May 2012 20:59:57 +0000 (14:59 -0600)
commit60fb8a22ee63481b6574a04304f740f50a133754
tree0f190cd3096b70089400f576c1fc247361c80ac9
parentc898263826794ffded3301baafcf15d268657021
build: support libnl-3

configure.ac: check for libnl-3 in addition to libnl-1

src/Makefile.am: link against libnl when needed

src/util/virnetlink.c:
support libnl3 api.  To minimize impact on code flow, wrap the
differences under the virNetlink* namespace.

Unfortunately libnl3 moves netlink/msg.h to
/usr/include/libnl3/netlink/msg.h, so the LIBNL_CFLAGS need to be added
to a bunch of places where they weren't needed with libnl1.

Signed-off-by: Serge Hallyn <serge.hallyn@canonical.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
configure.ac
src/Makefile.am
src/util/virnetlink.c