From patchwork Tue Jul 12 21:42:29 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ira Weiny X-Patchwork-Id: 969372 X-Patchwork-Delegate: ira.weiny@intel.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p6CLgVDH012173 for ; Tue, 12 Jul 2011 21:42:31 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755293Ab1GLVma (ORCPT ); Tue, 12 Jul 2011 17:42:30 -0400 Received: from nspiron-2.llnl.gov ([128.115.41.82]:43616 "EHLO nspiron-2.llnl.gov" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754923Ab1GLVm3 (ORCPT ); Tue, 12 Jul 2011 17:42:29 -0400 X-Attachments: None Received: from eris.llnl.gov (HELO trebuchet) ([134.9.2.84]) by nspiron-2.llnl.gov with SMTP; 12 Jul 2011 14:42:29 -0700 Date: Tue, 12 Jul 2011 14:42:29 -0700 From: Ira Weiny To: "linux-rdma@vger.kernel.org" Subject: [PATCH] infiniband-diags: configure.in; check for more recent function in libibmad Message-Id: <20110712144229.13a3da7d.weiny2@llnl.gov> X-Mailer: Sylpheed 3.1.1 (GTK+ 2.18.9; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Tue, 12 Jul 2011 21:42:31 +0000 (UTC) Signed-off-by: Ira Weiny --- 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],