+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
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)