Commit 15396686 authored by Daniel P. Berrange's avatar Daniel P. Berrange

Avoid setting XDR_LIBS to "none required"

Signed-off-by: 's avatarDaniel P. Berrange <berrange@redhat.com>
parent 97df13c6
AC_DEFUN([LIBVIRT_SANDBOX_XDR], [
old_LIBS="$LIBS"
XDR_LIBS=
AC_SEARCH_LIBS([xdrmem_create], [portablexdr rpc xdr nsl tirpc], [
XDR_LIBS="$ac_cv_search_xdrmem_create"
if test "$ac_cv_search_xdrmem_create" != "none required"
then
XDR_LIBS="$ac_cv_search_xdrmem_create"
fi
],[
AC_MSG_ERROR([Cannot find a XDR library])
])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment