diff mbox

infiniband-diags: test for libosmcomp with a function that is used in the code

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

Commit Message

Ira Weiny June 16, 2011, 6:10 p.m. UTC
From: Ira Weiny <weiny2@llnl.gov>
Date: Sun, 29 May 2011 18:01:31 -0700
Subject: [PATCH] infiniband-diags: test for libosmcomp with a function that is used in the code

Signed-off-by: Ira Weiny <weiny2@llnl.gov>
---
 configure.in |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/configure.in b/configure.in
index c6e8663..f41f049 100644
--- a/configure.in
+++ b/configure.in
@@ -46,8 +46,8 @@  AC_CHECK_MEMBER([struct umad_port.link_layer],
 if test "$ac_have_umad_port_link_layer" = "yes"; then
    AC_DEFINE([HAVE_UMAD_PORT_LINK_LAYER], 1, [Define to 1 if struct umad_port has link_layer member])
 fi
-AC_CHECK_LIB(osmcomp, cl_thread_init, [],
-	AC_MSG_ERROR([cl_thread_init() not found. diags require libosmcomp.]))
+AC_CHECK_LIB(osmcomp, cl_qmap_insert, [],
+	AC_MSG_ERROR([cl_qmap_insert() not found. diags require libosmcomp.]))
 fi
 
 dnl Checks for header files.