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

[Libvir] [PATCH 09/12] Compile libvirt under Windows (Cygwin)



Four more patches - these should be applied after the first 8 above, and fix libvirtd, proxy and tests.

	-	-	-

The attached patch disables the Xen proxy, since (AFAICS) it can't possibly be used under Windows.

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: configure.in
===================================================================
RCS file: /data/cvs/libvirt/configure.in,v
retrieving revision 1.90
diff -u -r1.90 configure.in
--- configure.in	30 Sep 2007 21:09:29 -0000	1.90
+++ configure.in	24 Nov 2007 16:44:32 -0000
@@ -492,7 +512,10 @@
   COMPILER_FLAGS=
 fi
 
+dnl Enable building the proxy?
+AM_CONDITIONAL(WITH_PROXY,[test "x$with_xen" = "xyes"])
 
+dnl Check for gettext
 AM_GNU_GETTEXT_VERSION([0.14.1])
 AM_GNU_GETTEXT([external])
 if test -d po
Index: proxy/Makefile.am
===================================================================
RCS file: /data/cvs/libvirt/proxy/Makefile.am,v
retrieving revision 1.12
diff -u -r1.12 Makefile.am
--- proxy/Makefile.am	9 Aug 2007 20:19:12 -0000	1.12
+++ proxy/Makefile.am	24 Nov 2007 16:44:32 -0000
@@ -1,5 +1,6 @@
 ## Process this file with automake to produce Makefile.in
 
+if WITH_PROXY
 INCLUDES = -I$(top_builddir)/include -I top_srcdir@/include \
            -I top_srcdir@/proxy -I top_srcdir@/src @LIBXML_CFLAGS@ \
 	   -DPROXY  -DLOCALEBASEDIR=\""$(datadir)/locale"\" \
@@ -17,3 +18,4 @@
 
 install-exec-hook:
 	chmod u+s $(DESTDIR)$(libexecdir)/libvirt_proxy
+endif
\ No newline at end of file

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


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