Tue Dec 4 18:25:01 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

* configure.in: Fix configure if rpcgen program is missing.
This commit is contained in:
Richard W.M. Jones 2007-12-04 19:14:11 +00:00
parent 4338271f1a
commit 5682ba5921
2 changed files with 8 additions and 5 deletions

View File

@ -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

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