Signed-off-by: Ira Weiny <wei...@llnl.gov>
---
 configure.in |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/configure.in b/configure.in
index f41f049..dfb6ba2 100644
--- a/configure.in
+++ b/configure.in
@@ -35,8 +35,9 @@ then
 dnl Checks for libraries
 AC_CHECK_LIB(ibumad, umad_init, [],
        AC_MSG_ERROR([umad_init() not found. diags require libibumad.]))
-AC_CHECK_LIB(ibmad, mad_dump_int, [],
-       AC_MSG_ERROR([mad_dump_int() not found. diags require libibmad.]))
+AC_CHECK_LIB(ibmad, mad_dump_perfcounters_rcv_err, [],
+       AC_MSG_ERROR([mad_dump_perfcounters_rcv_err() not found.
+       diags require libibmad with mad_dump_perfcounters_rcv_err support.]))
 AC_CHECK_LIB(ibmad, pma_query_via, [],
        AC_MSG_ERROR([pma_query_via() not found. diags require more recent 
libibmad.]))
 AC_CHECK_MEMBER([struct umad_port.link_layer],
-- 
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to