* 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:
Daniel Veillard
2007-03-15 07:43:16 +00:00
parent 98d3a3f1f8
commit 181ce1fdc6
17 changed files with 130 additions and 14 deletions

View File

@@ -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 */