build: require libnl-3 if netcf uses it
build: require libnl-3 if netcf uses it

Commits 9298bfb and f6c2951 both tried to make it possible to
select the correct libnl (1 vs. 3) according to what netcf
used, when both libraries are installed.  This works to avoid
libnl-3 when netcf used libnl-1.  But on the converse side, if
only libnl-1 development code is installed, while netcf uses
libnl-3, then configure happily uses libnl-1 anyways, leading
to a test failure:

$ VIR_TEST_DEBUG=1 ./virdrivermoduletest
TEST: virdrivermoduletest
 1) Test driver "network"                                             ... OK
 2) Test driver "storage"                                             ... OK
 3) Test driver "nodedev"                                             ... OK
 4) Test driver "secret"                                              ... OK
 5) Test driver "nwfilter"                                            ... OK
 6) Test driver "interface"
... lt-virdrivermoduletest: route/tc.c:973: rtnl_tc_register: Assertion
`0' failed.
Aborted

It's much nicer to prevent this at configure time, by requiring that
if we know what netcf used, then we want the same libnl version.  As
before, this can be bypassed by someone who knows what they are doing
by setting LIBNL_CFLAGS (perhaps useful to the rare person where the
build box has a different version of netcf than the installation box).

* configure.ac (LIBNL): If we can prove netcf used libnl-3, then
don't let configure succeed with libnl-1.

Signed-off-by: Eric Blake <a9da18479c871fe903d9590822cfe2629c6a4d11@redhat.com>

jardasgit/libvirt,nertpinx/libvirt,VenkatDatta/libvirt,zhlcindy/libvirt-1.1.4-maintain,taget/libvirt,olafhering/libvirt,rlaager/libvirt,taget/libvirt,datto/libvirt,shugaoye/libvirt,cbosdo/libvirt,jfehlig/libvirt,shugaoye/libvirt,agx/libvirt,libvirt/libvirt,cbosdo/libvirt,crobinso/libvirt,eskultety/libvirt,cbosdo/libvirt,zippy2/libvirt,datto/libvirt,zippy2/libvirt,elmarco/libvirt,zhlcindy/libvirt-1.1.4-maintain,agx/libvirt,andreabolognani/libvirt,crobinso/libvirt,zippy2/libvirt,eskultety/libvirt,nertpinx/libvirt,shugaoye/libvirt,jardasgit/libvirt,elmarco/libvirt,jardasgit/libvirt,andreabolognani/libvirt,jfehlig/libvirt,jardasgit/libvirt,libvirt/libvirt,shugaoye/libvirt,datto/libvirt,andreabolognani/libvirt,jardasgit/libvirt,taget/libvirt,zippy2/libvirt,nertpinx/libvirt,jfehlig/libvirt,zhlcindy/libvirt-1.1.4-maintain,nertpinx/libvirt,VenkatDatta/libvirt,elmarco/libvirt,elmarco/libvirt,cbosdo/libvirt,libvirt/libvirt,taget/libvirt,datto/libvirt,crobinso/libvirt,cbosdo/libvirt,fabianfreyer/libvirt,eskultety/libvirt,fabianfreyer/libvirt,jfehlig/libvirt,agx/libvirt,zhlcindy/libvirt-1.1.4-maintain,shugaoye/libvirt,fabianfreyer/libvirt,taget/libvirt,datto/libvirt,zhlcindy/libvirt-1.1.4-maintain,VenkatDatta/libvirt,fabianfreyer/libvirt,agx/libvirt,VenkatDatta/libvirt,rlaager/libvirt,eskultety/libvirt,rlaager/libvirt,agx/libvirt,libvirt/libvirt,olafhering/libvirt,eskultety/libvirt,olafhering/libvirt,VenkatDatta/libvirt,olafhering/libvirt,andreabolognani/libvirt,elmarco/libvirt,nertpinx/libvirt,crobinso/libvirt,fabianfreyer/libvirt,andreabolognani/libvirt,rlaager/libvirt,rlaager/libvirt