[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Libvir] 15/22 Disable proxy driver if compiled --without-xen



As reasoned earlier, if there's no Xen there can be no proxy, so there's no need to build the client side of the proxy driver.

Rich.

--
Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom.  Registered in
England and Wales under Company Registration No. 03798903
Index: src/proxy_internal.c
===================================================================
RCS file: /data/cvs/libvirt/src/proxy_internal.c,v
retrieving revision 1.39
diff -u -r1.39 proxy_internal.c
--- src/proxy_internal.c	5 Dec 2007 21:40:15 -0000	1.39
+++ src/proxy_internal.c	7 Dec 2007 10:54:54 -0000
@@ -8,6 +8,8 @@
  * Daniel Veillard <veillard redhat com>
  */
 
+#ifdef WITH_XEN
+
 #include "config.h"
 
 #include <stdio.h>
@@ -1111,6 +1113,8 @@
     return(ostype);
 }
 
+#endif /* WITH_XEN */
+
 /*
  * vim: set tabstop=4:
  * vim: set shiftwidth=4:

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]