a0edae52f2
This commit was SVN r25809.
32 строки
932 B
Bash
32 строки
932 B
Bash
# -*- shell-script -*-
|
|
#
|
|
# Copyright (c) 2011 Cisco Systems, Inc. All rights reserved.
|
|
# Copyright (c) 2011 Los Alamos National Security, LLC.
|
|
# All rights reserved.
|
|
# $COPYRIGHT$
|
|
#
|
|
# Additional copyrights may follow
|
|
#
|
|
# $HEADER$
|
|
#
|
|
AC_DEFUN([MCA_orte_grpcomm_pmi_PRIORITY], [10])
|
|
|
|
# MCA_grpcomm_pmi_CONFIG([action-if-found], [action-if-not-found])
|
|
# -----------------------------------------------------------
|
|
AC_DEFUN([MCA_orte_grpcomm_pmi_CONFIG], [
|
|
AC_CONFIG_FILES([orte/mca/grpcomm/pmi/Makefile])
|
|
|
|
ORTE_CHECK_PMI([grpcomm_pmi], [grpcomm_pmi_good=1], [grpcomm_pmi_good=0])
|
|
|
|
# Evaluate succeed / fail
|
|
AS_IF([test "$grpcomm_pmi_good" = 1 -a "$orte_without_full_support" = 0],
|
|
[$1],
|
|
[$2])
|
|
|
|
# set build flags to use in makefile
|
|
AC_SUBST([grpcomm_pmi_CPPFLAGS])
|
|
AC_SUBST([grpcomm_pmi_LDFLAGS])
|
|
AC_SUBST([grpcomm_pmi_LIBS])
|
|
|
|
])
|