2011-10-18 00:51:22 +04:00
|
|
|
# -*- shell-script -*-
|
|
|
|
#
|
|
|
|
# Copyright (c) 2009-2011 Cisco Systems, Inc. All rights reserved.
|
2011-11-23 01:24:35 +04:00
|
|
|
# Copyright (c) 2011 Los Alamos National Security, LLC.
|
|
|
|
# All rights reserved.
|
2011-10-18 00:51:22 +04:00
|
|
|
# $COPYRIGHT$
|
|
|
|
#
|
|
|
|
# Additional copyrights may follow
|
|
|
|
#
|
|
|
|
# $HEADER$
|
|
|
|
#
|
|
|
|
AC_DEFUN([MCA_orte_ess_pmi_PRIORITY], [10])
|
|
|
|
|
|
|
|
# MCA_ess_pmi_CONFIG([action-if-found], [action-if-not-found])
|
|
|
|
# -----------------------------------------------------------
|
|
|
|
AC_DEFUN([MCA_orte_ess_pmi_CONFIG],[
|
|
|
|
AC_CONFIG_FILES([orte/mca/ess/pmi/Makefile])
|
|
|
|
|
|
|
|
# see if PMI support requested
|
|
|
|
ORTE_CHECK_PMI([ess_pmi], [ess_pmi_good=1], [ess_pmi_good=0])
|
|
|
|
|
|
|
|
# Evaluate succeed / fail
|
2011-11-23 01:24:35 +04:00
|
|
|
AS_IF([test "$ess_pmi_good" = "1" -a "$orte_without_full_support" = 0],
|
2012-01-28 00:56:21 +04:00
|
|
|
[$1],
|
2011-10-18 00:51:22 +04:00
|
|
|
[$2])
|
|
|
|
|
|
|
|
# set build flags to use in makefile
|
|
|
|
AC_SUBST([ess_pmi_CPPFLAGS])
|
|
|
|
AC_SUBST([ess_pmi_LDFLAGS])
|
|
|
|
AC_SUBST([ess_pmi_LIBS])
|
|
|
|
|
|
|
|
])dnl
|