15/22 Disable proxy driver if compiled --without-xen

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

 



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@xxxxxxxxxx>
  */
 
+#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

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]