1
1
openmpi/ompi/mca/pml/dr/configure.m4
George Bosilca fad6136794 To be or not to be ! As DR require 64 bits atomics, only allow it to
build when thread support is disabled or we have 64 bits atomics support.

This commit was SVN r17293.
2008-01-29 05:24:56 +00:00

24 строки
678 B
Bash

# -*- shell-script -*-
#
# Copyright (c) 2004-2008 The Trustees of the University of Tennessee.
# All rights reserved.
# $COPYRIGHT$
#
# Additional copyrights may follow
#
# $HEADER$
#
# MCA_pml_dr_CONFIG([action-if-found], [action-if-not-found])
# -----------------------------------------------------------
AC_DEFUN([MCA_pml_dr_CONFIG],[
# Dont compile DR if threading is enabled but there is no
# support for 64 bits atomics.
AS_IF([test $OMPI_ASM_SUPPORT_64BIT -eq 1],
[$1],
[AS_IF([test $OMPI_ENABLE_PROGRESS_THREADS -eq 1 -o $OMPI_ENABLE_MPI_THREADS -eq 1],
[$2],
[$1])
])
])dnl