[libvirt] [PATCH] Report an error if no XDR library can be found
Daniel Veillard
veillard at redhat.com
Tue Dec 22 10:15:21 UTC 2009
On Tue, Dec 22, 2009 at 02:12:51AM +0100, Matthias Bolte wrote:
> ---
> configure.in | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/configure.in b/configure.in
> index 3be11f2..81548b8 100644
> --- a/configure.in
> +++ b/configure.in
> @@ -116,7 +116,8 @@ dnl If portablexdr is installed, prefer that.
> dnl Otherwise try -lrpc (Cygwin) -lxdr (some MinGW), -lnsl (Solaris)
> dnl or none (most Unix)
> AC_CHECK_LIB([portablexdr],[xdrmem_create],[],[
> - AC_SEARCH_LIBS([xdrmem_create],[rpc xdr nsl])
> + AC_SEARCH_LIBS([xdrmem_create],[rpc xdr nsl],[],
> + [AC_MSG_ERROR([Cannot find a XDR library])])
> ])
>
> AC_CHECK_LIB([intl],[gettext],[])
ACK
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
daniel at veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org/
More information about the libvir-list
mailing list