]> git.ipfire.org Git - thirdparty/libvirt.git/commit
build: define WITH_INTERFACE for the driver
authorDoug Goldstein <cardoe@cardoe.com>
Tue, 18 Sep 2012 01:27:06 +0000 (20:27 -0500)
committerEric Blake <eblake@redhat.com>
Wed, 19 Sep 2012 14:27:01 +0000 (08:27 -0600)
commitb95ad92e058d3b25b9fc0a9f48cf21c57c29e0b5
treef6223ebecf35348d10c3c024325d6c0938643065
parentc88a4f2a4623065b4c8f65d9d3c425ba67dc9a18
build: define WITH_INTERFACE for the driver

Based exclusively on work by Eric Blake in a patch posted with the same
subject. However some modifications related to comments and my plans to
add another backend.

Added WITH_INTERFACE as the only automake variable deciding whether to
build the driver and using WITH_NETCF to identify that we're wanting to
use the netcf library as the backend.

* configure.ac: Added with_interface
* src/interface/netcf_driver.c: Renamed..
* src/interface/interface_backend_netcf.c: ..to this to match storage.
* src/interface/netcf_driver.h: Renamed..
* src/interface/interface_driver.h: ..to this.
* daemon/Makefile.am: Respect WITH_INTERFACE and WITH_NETCF.
* libvirt.spec.in: Add RPM support for --with-interface
configure.ac
daemon/Makefile.am
daemon/libvirtd.c
libvirt.spec.in
po/POTFILES.in
src/Makefile.am
src/interface/interface_backend_netcf.c [moved from src/interface/netcf_driver.c with 99% similarity]
src/interface/interface_driver.h [moved from src/interface/netcf_driver.h with 100% similarity]
tests/virdrivermoduletest.c
tools/virsh.c