]> xenbits.xensource.com Git - libvirt.git/commitdiff
Tue Dec 4 18:25:01 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
authorRichard W.M. Jones <rjones@redhat.com>
Tue, 4 Dec 2007 19:14:11 +0000 (19:14 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Tue, 4 Dec 2007 19:14:11 +0000 (19:14 +0000)
       * configure.in: Fix configure if rpcgen program is missing.

ChangeLog
configure.in

index e6873058516d92344aa4ffcfe7fa51c5e8905186..f6227d990be10aa52e43226383b4acfad8feb37f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Tue Dec  4 18:25:01 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
+
+       * configure.in: Fix configure if rpcgen program is missing.
+
 Tue Dec  4 17:47:01 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
 
        * configure.in: curses is not actually required to build libvirt
index 6297483063e6adb5e3157bae3ad0fe07bf59abc5..6cd7fe2cb6262bcb2d339b4ee38baec86789cbd8 100644 (file)
@@ -58,11 +58,10 @@ AC_SEARCH_LIBS(xdrmem_create,rpc)
 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)