1
1
openmpi/orte/mca/rml/cnos/configure.m4
Jeff Squyres 42ec26e640 Update the copyright notices for IU and UTK.
This commit was SVN r7999.
2005-11-05 19:57:48 +00:00

41 строка
1.5 KiB
Bash

# -*- shell-script -*-
#
# Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
# University Research and Technology
# Corporation. All rights reserved.
# Copyright (c) 2004-2005 The University of Tennessee and The University
# of Tennessee Research Foundation. 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