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

[Libvir] [PATCH] No rpcgen at all



If there is no 'rpcgen' program at all then ./configure fails. It should not, because rpcgen is not necessary to build libvirt.

Patch fixes.

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.100
diff -u -r1.100 configure.in
--- configure.in	30 Nov 2007 11:10:53 -0000	1.100
+++ configure.in	4 Dec 2007 17:45:28 -0000
@@ -58,11 +58,10 @@
 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 Is this GLIBC's buggy rpcgen?
+AM_CONDITIONAL(GLIBC_RPCGEN,
+	       [test "x$ac_cv_path_RPCGEN" != "xno" &&
+	        $ac_cv_path_RPCGEN -t </dev/null >/dev/null 2>&1])
 
 dnl Miscellaneous external programs.
 AC_PATH_PROG(RM, rm, /bin/rm)

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


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