From: Matthias Bolte Date: Mon, 21 Dec 2009 17:37:15 +0000 (+0100) Subject: Report an error if no XDR library can be found X-Git-Tag: v0.7.5~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=188852c984d6231c588bbbadc1c1f26624c41a61;p=thirdparty%2Flibvirt.git Report an error if no XDR library can be found --- diff --git a/configure.in b/configure.in index 3be11f2e22..81548b8cca 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],[])