1
1
openmpi/orte/mca/rml/cnos/configure.m4
Brian Barrett 2852772b32 * add a bunch of svn:ignored files
* Add Portals UTCP reference sds for when we are using the portals
  reference implementation without the ORTE starters (when we want to
  pretend like we're on Red Storm, only with a debugger and valgrind and
  possibly even a printf that actually works...)
* Add super-secret --with flag to cnos rml to enable the cnos rml but
  disable cnos_barrier (for use with portals utcp reference implementation)

This commit was SVN r6642.
2005-07-28 06:23:34 +00:00

39 строки
1.4 KiB
Bash

# -*- shell-script -*-
#
# Copyright (c) 2004-2005 The Trustees of Indiana University.
# All rights reserved.
# Copyright (c) 2004-2005 The Trustees of the University of Tennessee.
# All rights reserved.
# Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
# University of Stuttgart. All rights reserved.
# Copyright (c) 2004-2005 The Regents of the University of California.
# All rights reserved.
# $COPYRIGHT$
#
# Additional copyrights may follow
#
# $HEADER$
#
# MCA_rml_cnos_CONFIG([action-if-found], [action-if-not-found])
# -----------------------------------------------------------
AC_DEFUN([MCA_rml_cnos_CONFIG],[
rml_cnos_happy="no"
# see if we should enable super secret utcp support
if test "$with_rml_cnos" = "utcp" ; then
rml_cnos_happy="yes"
rml_cnos_barrier=0
else
# check for cnos functions
AC_CHECK_FUNC([cnos_barrier],
[rml_cnos_happy="yes"
rml_cnos_barrier=1],
[rml_cnos_happy="no"
rml_cnos_barrier=0])
fi
AC_DEFINE_UNQUOTED([OMPI_RML_CNOS_HAVE_BARRIER], [$rml_cnos_barrier],
[whether to use cnos_barrier or not])
AS_IF([test "$rml_cnos_happy" = "yes"], [$1], [$2])
])dnl