mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
* configure.in proxy/Makefile.am proxy/libvirt_proxy.c
src/Makefile.am src/libvirt.c src/qemu_internal.c src/test.c src/xen_internal.c src/xen_internal.h src/xend_internal.c src/xm_internal.c src/xml.c src/xs_internal.c tests/Makefile.am tests/sexpr2xmltest.c tests/xmconfigtest.c: allow selective compilation of Xen,QEmu/KVM and test support in or out at configure time. Also allows to compile on a system without Xen development installed. All drivers are selected by default. Daniel
This commit is contained in:
@@ -19,6 +19,8 @@
|
||||
#include <sys/un.h>
|
||||
#include <locale.h>
|
||||
#include "internal.h"
|
||||
|
||||
#ifdef WITH_XEN
|
||||
#include "proxy_internal.h"
|
||||
#include "xen_internal.h"
|
||||
#include "xend_internal.h"
|
||||
@@ -786,3 +788,9 @@ int main(int argc, char **argv) {
|
||||
proxyCloseUnixSocket();
|
||||
exit(0);
|
||||
}
|
||||
#else /* WITHOUT_XEN */
|
||||
int main(void) {
|
||||
fprintf(stderr, "libvirt was compiled without Xen support\n");
|
||||
exit(1);
|
||||
}
|
||||
#endif /* WITH_XEN */
|
||||
|
||||
Reference in New Issue
Block a user