Check if the rpcgen program is available.The rpcgen under Cygwin doesn't generate buggy code (unlike glibc's rpcgen) so there is no need to run the Perl fix-up script.
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:14:35 -0000 @@ -66,6 +66,15 @@ dnl Availability of various common headers (non-fatal if missing). AC_CHECK_HEADERS(paths.h) +dnl Do we have rpcgen? +AC_PATH_PROG(RPCGEN, rpcgen, no) +AM_CONDITIONAL(RPCGEN, [test "x$ac_cv_path_RPCGEN" != "xno"]) +if test "x$ac_cv_path_RPCGEN" != "xno"; then + dnl Is this GLIBC's buggy rpcgen? + AM_CONDITIONAL(GLIBC_RPCGEN, + [$ac_cv_path_RPCGEN -t </dev/null >/dev/null 2>&1]) +fi + 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]), Index: qemud/Makefile.am =================================================================== RCS file: /data/cvs/libvirt/qemud/Makefile.am,v retrieving revision 1.35 diff -u -r1.35 Makefile.am --- qemud/Makefile.am 17 Nov 2007 11:17:48 -0000 1.35 +++ qemud/Makefile.am 24 Nov 2007 14:14:35 -0000 @@ -68,15 +68,19 @@ rmdir $(DESTDIR)$(localstatedir)/lib/libvirt || : +if RPCGEN .x.c: rm -f $@ rpcgen -c -o $@ $< +if GLIBC_RPCGEN mv $@ $@.bak perl -w rpcgen_fix.pl < $@.bak > $@ +endif .x.h: rm -f $@ rpcgen -h -o $@ $< +endif remote_protocol.c: remote_protocol.h
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature
-- Libvir-list mailing list Libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list