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

[Libvir] [PATCH 5/8] Compile libvirt under Windows (Cygwin)



Detect if the XDR functions are in a separate library which needs `-lrpc' to link against (Cygwin for sure, probably Solaris too).

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 14:13:56 -0000
@@ -66,6 +66,9 @@
 dnl Availability of various common headers (non-fatal if missing).
 AC_CHECK_HEADERS(paths.h)
 
+dnl Need -lrpc? (Cygwin needs this)
+AC_SEARCH_LIBS(xdrmem_create,rpc)
+
 dnl Specific dir for HTML output ?
 AC_ARG_WITH(html-dir, AC_HELP_STRING([--with-html-dir=path],
             [path to base html directory, default $datadir/doc/html]),

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


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