Skip to content

Commit d46e2b3

Browse files
committed
configury: fix some problems with opal_mca
processing of --enable-mca-no-build option related to #8963 Signed-off-by: Howard Pritchard <howardp@lanl.gov>
1 parent 02b2010 commit d46e2b3

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

config/opal_mca.m4

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ dnl Copyright (c) 2010-2016 Cisco Systems, Inc. All rights reserved.
1414
dnl Copyright (c) 2013-2017 Intel, Inc. All rights reserved.
1515
dnl Copyright (c) 2018-2021 Amazon.com, Inc. or its affiliates.
1616
dnl All Rights reserved.
17+
dnl Copyright (c) 2021 Triad National Security, LLC. All rights
18+
dnl reserved.
1719
dnl $COPYRIGHT$
1820
dnl
1921
dnl Additional copyrights may follow
@@ -103,10 +105,10 @@ AC_DEFUN([OPAL_MCA],[
103105
type=$item
104106
fi
105107
if test -z $comp ; then
106-
AS_VAR_SET([AS_TR_SH([DISABLE_$type])], [1])
108+
AS_VAR_SET([AS_TR_SH([DISABLE_${type}])], [1])
107109
msg="$item $msg"
108110
else
109-
AS_VAR_SET([AS_TR_SH([DISABLE_$type_$comp])], [1])
111+
AS_VAR_SET([AS_TR_SH([DISABLE_${type}_${comp}])], [1])
110112
msg="$item $msg"
111113
fi
112114
done
@@ -934,7 +936,7 @@ AC_DEFUN([MCA_COMPONENT_BUILD_CHECK],[
934936
935937
# if we were explicitly disabled, don't build :)
936938
AS_IF([test "$DISABLE_$2" = "1"], [want_component=0])
937-
AS_VAR_IF([DISABLE_$2_$3], [1], [want_component = 0])
939+
AS_VAR_IF([DISABLE_$2_$3], [1], [want_component=0])
938940
939941
AS_IF([test "$want_component" = "1"], [$4], [$5])
940942
])

0 commit comments

Comments
 (0)