]> xenbits.xensource.com Git - libvirt.git/commit
build: fix detection of netcf linked with libnl1
authorChristophe Fergeau <cfergeau@redhat.com>
Wed, 19 Sep 2012 15:00:55 +0000 (17:00 +0200)
committerChristophe Fergeau <cfergeau@redhat.com>
Tue, 25 Sep 2012 09:07:43 +0000 (11:07 +0200)
commitf6c295156672fe15b32d2baddb68957bb7bddd8e
tree87cbb5ff41f4603e09dd7eeecb197b019ec8fdca
parentbb1457012d04186ff7ffc6d5ee9a22b399e71be9
build: fix detection of netcf linked with libnl1

Commit 9298bfbcb introduced code to detect if netcf is linked with
libnl1, and to prefer libnl1 over libnl3 when this is the case.
This behaviour can be disabled by setting LIBNL_CFLAGS to any value,
including the empty string.
However, configure.ac sets LIBNL_CFLAGS to "" before attempting
libnl detection, so the libnl1 detection code is always disabled.
This caused issues on my f17 system where netcf is linked with libnl1
but libvirt got built with libnl3.

This commit removes the setting of the LIBNL_* variables to "" as
this does not appear to be needed. After this change, libnl1 is
used when building libvirt on my f17 system.
configure.ac