]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Report an error if no XDR library can be found
authorMatthias Bolte <matthias.bolte@googlemail.com>
Mon, 21 Dec 2009 17:37:15 +0000 (18:37 +0100)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Tue, 22 Dec 2009 12:04:50 +0000 (13:04 +0100)
configure.in

index 3be11f2e22eec0936e8041d1693791dcf22b5b68..81548b8ccad34c5de55c346c80ddc75374bd95e2 100644 (file)
@@ -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],[])