From patchwork Thu Apr 4 17:38:30 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Al Chu X-Patchwork-Id: 2394401 X-Patchwork-Delegate: hal@mellanox.com Return-Path: X-Original-To: patchwork-linux-rdma@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 94122DF25A for ; Thu, 4 Apr 2013 17:38:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1763695Ab3DDRib (ORCPT ); Thu, 4 Apr 2013 13:38:31 -0400 Received: from prdiron-2.llnl.gov ([128.15.143.172]:2019 "EHLO prdiron-2.llnl.gov" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1763661Ab3DDRib (ORCPT ); Thu, 4 Apr 2013 13:38:31 -0400 X-Attachments: Received: from auk59.llnl.gov (HELO [134.9.93.24]) ([134.9.93.24]) by prdiron-2.llnl.gov with ESMTP; 04 Apr 2013 10:38:30 -0700 Subject: [PATCH] opensm: Add configure output messages for several configure options From: Albert Chu To: linux-rdma@vger.kernel.org Date: Thu, 04 Apr 2013 10:38:30 -0700 Message-Id: <1365097110.5901.36.camel@auk59.llnl.gov> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-19.el5) Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org The --enable-console-loopback, --enable-console-socket, --enable-perf-mgr, --enable-perf-mgr-profile, and --enable-default-event-plugin did not have a checking message or notice message indicating if they were enabled/disabled when running configure. This made things difficult when perusing old build logs to determine if things were enabled/disabled. Signed-off-by: Albert Chu --- config/osmvsel.m4 | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/config/osmvsel.m4 b/config/osmvsel.m4 index 6c98c07..f249b1c 100644 --- a/config/osmvsel.m4 +++ b/config/osmvsel.m4 @@ -183,6 +183,7 @@ AC_DEFUN([OPENIB_OSM_CONSOLE_SOCKET_SEL], [ # --- BEGIN OPENIB_OSM_CONSOLE_SOCKET_SEL --- dnl Console over a loopback socket is default if libwrap is available +AC_MSG_CHECKING([to enable console loopback]) AC_ARG_ENABLE(console-loopback, [ --enable-console-loopback Enable a console socket on the loopback interface, requires tcp_wrappers (default yes)], [case $enableval in @@ -190,6 +191,7 @@ AC_ARG_ENABLE(console-loopback, no) console_loopback=no ;; esac], console_loopback=yes) +AC_MSG_RESULT([yes]) if test $console_loopback = yes; then AC_CHECK_LIB(wrap, request_init, [], [console_loopback=no @@ -202,6 +204,7 @@ if test $console_loopback = yes; then fi dnl Console over a socket connection +AC_MSG_CHECKING([to enable console socket]) AC_ARG_ENABLE(console-socket, [ --enable-console-socket Enable a console socket, requires --enable-console-loopback (default no)], [case $enableval in @@ -209,6 +212,8 @@ AC_ARG_ENABLE(console-socket, no) console_socket=no ;; esac], console_socket=no) +AC_MSG_RESULT([no]) + if test $console_socket = yes; then if test $console_loopback = no; then AC_MSG_ERROR([--enable-console-socket requires --enable-console-loopback]) @@ -228,6 +233,7 @@ AC_DEFUN([OPENIB_OSM_PERF_MGR_SEL], [ # --- BEGIN OPENIB_OSM_PERF_MGR_SEL --- dnl enable the perf-mgr +AC_MSG_CHECKING([to enable perf mgr]) AC_ARG_ENABLE(perf-mgr, [ --enable-perf-mgr Enable the performance manager (default yes)], [case $enableval in @@ -235,6 +241,9 @@ AC_ARG_ENABLE(perf-mgr, no) perf_mgr=no ;; esac], perf_mgr=yes) +AC_MSG_RESULT([yes]) + +AC_MSG_CHECKING([to enable perf mgr profiling]) AC_ARG_ENABLE(perf-mgr-profile, [ --enable-perf-mgr-profile Enable the performance manager profiling (default no)], [case $enableval in @@ -242,6 +251,8 @@ AC_ARG_ENABLE(perf-mgr-profile, no) perf_mgr_profile=no ;; esac], perf_mgr_profile=no) +AC_MSG_RESULT([no]) + if test $perf_mgr = yes; then AC_DEFINE(ENABLE_OSM_PERF_MGR, 1, @@ -261,6 +272,7 @@ AC_DEFUN([OPENIB_OSM_DEFAULT_EVENT_PLUGIN_SEL], [ # --- BEGIN OPENIB_OSM_DEFAULT_EVENT_PLUGIN_SEL --- dnl enable the default-event-plugin +AC_MSG_CHECKING([to enable default event plugin]) AC_ARG_ENABLE(default-event-plugin, [ --enable-default-event-plugin Enable a default event plugin "osmeventplugin" (default no)], [case $enableval in @@ -268,6 +280,8 @@ AC_ARG_ENABLE(default-event-plugin, no) default_event_plugin=no ;; esac], default_event_plugin=no) +AC_MSG_RESULT([no]) + if test $default_event_plugin = yes; then AC_DEFINE(ENABLE_OSM_DEFAULT_EVENT_PLUGIN, 1,