@@ -14,6 +14,8 @@ dnl Copyright (c) 2010-2016 Cisco Systems, Inc. All rights reserved.
14
14
dnl Copyright (c) 2013-2017 Intel, Inc. All rights reserved.
15
15
dnl Copyright (c) 2018-2021 Amazon.com, Inc. or its affiliates.
16
16
dnl All Rights reserved.
17
+ dnl Copyright (c) 2021 Triad National Security, LLC. All rights
18
+ dnl reserved.
17
19
dnl $COPYRIGHT$
18
20
dnl
19
21
dnl Additional copyrights may follow
@@ -103,10 +105,10 @@ AC_DEFUN([OPAL_MCA],[
103
105
type=$item
104
106
fi
105
107
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] )
107
109
msg="$item $msg"
108
110
else
109
- AS_VAR_SET ( [ AS_TR_SH ( [ DISABLE_$type_$ comp] ) ] , [ 1] )
111
+ AS_VAR_SET ( [ AS_TR_SH ( [ DISABLE_${type}_${ comp} ] ) ] , [ 1] )
110
112
msg="$item $msg"
111
113
fi
112
114
done
@@ -934,7 +936,7 @@ AC_DEFUN([MCA_COMPONENT_BUILD_CHECK],[
934
936
935
937
# if we were explicitly disabled, don't build :)
936
938
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] )
938
940
939
941
AS_IF ( [ test "$want_component" = "1"] , [ $4 ] , [ $5 ] )
940
942
] )
0 commit comments