Skip to contentSkip to conversation

infiniband-diags: configure.in; check for more recent function in libibmad

PATCH New Ira Weiny 1 participant 1 message Jul 12, 2011 InfiniBand

lore
Share & tools
lore

Ira Weiny

author
#0 lore raw

PATCH 1/1 infiniband-diags: configure.in; check for more recent function in libibmad

---
 configure.in |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
configure.in +3 -2
index f41f049..dfb6ba2 100644
@@ -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],
Signature · 6 lines
1.7.1

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