2005-07-28 03:07:14 +04:00
|
|
|
# -*- 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],[
|
2005-07-28 10:23:34 +04:00
|
|
|
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])
|
2005-07-28 03:07:14 +04:00
|
|
|
])dnl
|