Skip to content

Commit f7e74b6

Browse files
committed
btl-portals4: fix a flow control configure bug
This commit fixes a configure bug that caused flow control to be disabled regardless of the configure options used. Signed-off-by: Todd Kordenbrock <[email protected]>
1 parent e7b867c commit f7e74b6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

opal/mca/btl/portals4/configure.m4

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# Copyright (c) 2004-2005 The Regents of the University of California.
1212
# All rights reserved.
1313
# Copyright (c) 2010 Cisco Systems, Inc. All rights reserved.
14-
# Copyright (c) 2010 Sandia National Laboratories. All rights reserved.
14+
# Copyright (c) 2010-2019 Sandia National Laboratories. All rights reserved.
1515
# Copyright (c) 2014 Bull SAS. All rights reserved.
1616
# $COPYRIGHT$
1717
#
@@ -44,9 +44,9 @@ AC_DEFUN([MCA_opal_btl_portals4_CONFIG],[
4444
[AC_HELP_STRING([--enable-btl-portals4-flow-control],
4545
[enable flow control for Portals 4 BTL (default: disabled)])])
4646
AC_MSG_CHECKING([whether to enable flow control])
47-
if test "$enable_btl_portals4_flow_control" != "yes"; then
48-
AC_MSG_RESULT([no])
49-
btl_portals4_flow_control_enabled=0
47+
if test "$enable_btl_portals4_flow_control" != "no"; then
48+
AC_MSG_RESULT([yes])
49+
btl_portals4_flow_control_enabled=1
5050
else
5151
AC_MSG_RESULT([no])
5252
btl_portals4_flow_control_enabled=0

0 commit comments

Comments
 (0)