Re: [libvirt] [PATCH] libvirtd: Don't check WITH_LIBVIRTD in C source files

2013-02-05 Thread Daniel P. Berrange
On Mon, Feb 04, 2013 at 10:08:42PM -0600, Doug Goldstein wrote: On Mon, Feb 4, 2013 at 8:20 PM, Hu Tao hu...@cn.fujitsu.com wrote: Don't check WITH_LIBVIRTD in C source files because we will build the sources even without libvirtd. --- src/driver.h | 4 src/libvirt.c

[libvirt] [PATCH] libvirtd: Don't check WITH_LIBVIRTD in C source files

2013-02-04 Thread Hu Tao
Don't check WITH_LIBVIRTD in C source files because we will build the sources even without libvirtd. --- src/driver.h | 4 src/libvirt.c | 7 --- src/libvirt_internal.h | 2 -- src/remote/remote_driver.c | 6 -- src/xen/xen_driver.c | 6 +- 5

Re: [libvirt] [PATCH] libvirtd: Don't check WITH_LIBVIRTD in C source files

2013-02-04 Thread Doug Goldstein
On Mon, Feb 4, 2013 at 8:20 PM, Hu Tao hu...@cn.fujitsu.com wrote: Don't check WITH_LIBVIRTD in C source files because we will build the sources even without libvirtd. --- src/driver.h | 4 src/libvirt.c | 7 --- src/libvirt_internal.h | 2 --

Re: [libvirt] [PATCH] libvirtd: Don't check WITH_LIBVIRTD in C source files

2013-02-04 Thread Hu Tao
On Mon, Feb 04, 2013 at 10:08:42PM -0600, Doug Goldstein wrote: On Mon, Feb 4, 2013 at 8:20 PM, Hu Tao hu...@cn.fujitsu.com wrote: Don't check WITH_LIBVIRTD in C source files because we will build the sources even without libvirtd. --- src/driver.h | 4 src/libvirt.c

Re: [libvirt] [PATCH] libvirtd: Don't check WITH_LIBVIRTD in C source files

2013-02-04 Thread Hu Tao
Please add one more line to commit msg: On Tue, Feb 05, 2013 at 10:20:37AM +0800, Hu Tao wrote: Don't check WITH_LIBVIRTD in C source files because we will build the sources even without libvirtd. This patch also fix the build failure when buliding with --without-libvirtd. ---