diff mbox

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

Message ID 20110712144229.13a3da7d.weiny2@llnl.gov (mailing list archive)
State Accepted, archived
Delegated to: Ira Weiny
Headers show

Commit Message

Ira Weiny July 12, 2011, 9:42 p.m. UTC
Signed-off-by: Ira Weiny <weiny2@llnl.gov>
---
 configure.in |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
diff mbox

Patch

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],