Skip to content

Commit d1c71ec

Browse files
authored
Merge pull request #8799 from acolinisi/PR--autoconf-fix-var-set
autoconf: fix --enable-mca-dso: correct two bugs that broke it
2 parents b33b294 + 4195d86 commit d1c71ec

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

config/opal_mca.m4

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,10 @@ AC_DEFUN([OPAL_MCA],[
103103
type=$item
104104
fi
105105
if test -z $comp ; then
106-
AS_VAR_COPY([AS_TR_SH([DISABLE_$type])], [1])
106+
AS_VAR_SET([AS_TR_SH([DISABLE_$type])], [1])
107107
msg="$item $msg"
108108
else
109-
AS_VAR_COPY([AS_TR_SH([DISABLE_$type_$comp])], [1])
109+
AS_VAR_SET([AS_TR_SH([DISABLE_$type_$comp])], [1])
110110
msg="$item $msg"
111111
fi
112112
done
@@ -149,7 +149,7 @@ AC_DEFUN([OPAL_MCA],[
149149
AC_MSG_ERROR([*** The enable-mca-direct flag requires a
150150
*** list of type-component pairs. Invalid input detected.])
151151
else
152-
AS_VAR_COPY([AS_TR_SH([DIRECT_$type])], [AS_TR_SH([$comp])])
152+
AS_VAR_SET([AS_TR_SH([DIRECT_$type])], [AS_TR_SH([$comp])])
153153
msg="$item $msg"
154154
fi
155155
done
@@ -184,7 +184,7 @@ AC_DEFUN([OPAL_MCA],[
184184
IFS="${IFS}$PATH_SEPARATOR,"
185185
msg=
186186
for item in $enable_mca_dso; do
187-
AS_VAR_COPY([AS_TR_SH([DSO_$item])], [1])
187+
AS_VAR_SET([AS_TR_SH([DSO_$item])], [1])
188188
msg="$item $msg"
189189
done
190190
IFS="$ifs_save"
@@ -212,7 +212,7 @@ AC_DEFUN([OPAL_MCA],[
212212
IFS="${IFS}$PATH_SEPARATOR,"
213213
msg=
214214
for item in $enable_mca_static; do
215-
AS_VAR_COPY([AS_TR_SH([STATIC_$item])], [1])
215+
AS_VAR_SET([AS_TR_SH([STATIC_$item])], [1])
216216
msg="$item $msg"
217217
done
218218
IFS="$ifs_save"
@@ -696,7 +696,7 @@ AC_DEFUN([MCA_COMPONENT_COMPILE_MODE],[
696696
AS_VAR_COPY([SHARED_COMPONENT], [DSO_$2_$3])
697697
698698
STATIC_FRAMEWORK="$STATIC_$2"
699-
AS_VAR_COPY([STATIC_COMPONENT], [DSO_$2_$3])
699+
AS_VAR_COPY([STATIC_COMPONENT], [STATIC_$2_$3])
700700
701701
# Look for the most specific specifier between static/dso. If
702702
# there is a tie (either neither or both specified), prefer

0 commit comments

Comments
 (0)