@@ -41,7 +41,7 @@ AC_DEFUN([OPAL_CHECK_PMI_LIB],
4141 AC_MSG_CHECKING ( [ for $3 .h in $1 /include] )
4242 AS_IF ( [ test -f $1 /include/$3 .h] ,
4343 [ AC_MSG_RESULT ( [ found] )
44- opal_check_$3 _mycppflags="-I$3 /include"] ,
44+ opal_check_$3 _mycppflags="-I$1 /include"] ,
4545 [ AC_MSG_RESULT ( [ not found] )
4646 AC_MSG_CHECKING ( [ for $3 .h in $1 /include/slurm] )
4747 AS_IF ( [ test -f $1 /include/slurm/$3 .h] ,
@@ -76,7 +76,7 @@ AC_DEFUN([OPAL_CHECK_PMI_LIB],
7676 [ opal_check_$3 _lib_happy=no] ) ] ,
7777 [ opal_check_$3 _lib_happy=no
7878 AC_MSG_RESULT ( [ not found] ) ] )
79-
79+
8080 # check for presence of lib64 directory - if found, see if the
8181 # desired library is present and matches our build requirements
8282 files=`ls $2 /lib64/lib$3 .* 2> /dev/null | wc -l`
@@ -195,12 +195,12 @@ AC_DEFUN([OPAL_CHECK_PMI],[
195195
196196 AS_IF ( [ test "$opal_enable_pmi2" = "yes"] ,
197197 [ AS_IF ( [ test "$default_pmi_loc" = "no" || test "$slurm_pmi_found" = "yes"] ,
198- [ opal_pmi2_CPPFLAGS="$pmi_CPPFLAGS "
198+ [ opal_pmi2_CPPFLAGS="$pmi2_CPPFLAGS "
199199 AC_SUBST ( opal_pmi2_CPPFLAGS ) ] )
200200 AS_IF ( [ test "$default_pmi_libloc" = "no" || test "$slurm_pmi_found" = "yes"] ,
201- [ opal_pmi2_LDFLAGS="$pmi_LDFLAGS "
201+ [ opal_pmi2_LDFLAGS="$pmi2_LDFLAGS "
202202 AC_SUBST ( opal_pmi2_LDFLAGS )
203- opal_pmi2_rpath="$pmi_rpath "
203+ opal_pmi2_rpath="$pmi2_rpath "
204204 AC_SUBST ( opal_pmi2_rpath ) ] ) ] )
205205
206206 # since support was explicitly requested, then we should error out
0 commit comments