@@ -14,6 +14,8 @@ dnl Copyright (c) 2010-2016 Cisco Systems, Inc. All rights reserved.
1414dnl Copyright (c) 2013-2017 Intel, Inc. All rights reserved.
1515dnl Copyright (c) 2018-2021 Amazon.com, Inc. or its affiliates.
1616dnl All Rights reserved.
17+ dnl Copyright (c) 2021 Triad National Security, LLC. All rights
18+ dnl reserved.
1719dnl $COPYRIGHT$
1820dnl
1921dnl 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