fb90a75fc9
This is because internally 'self' uses dlopen to look at the application running to determine if it can/should be used or not. This commit was SVN r15673.
31 строка
1.1 KiB
Bash
31 строка
1.1 KiB
Bash
# -*- shell-script -*-
|
|
#
|
|
# Copyright (c) 2004-2007 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_crs_self_CONFIG([action-if-found], [action-if-not-found])
|
|
# -----------------------------------------------------------
|
|
AC_DEFUN([MCA_crs_self_CONFIG],[
|
|
# If we don't want FT, don't compile this component
|
|
AS_IF([test "$ompi_want_ft" = "1"],
|
|
[crs_self_good="yes"],
|
|
[$2])
|
|
|
|
# We need to be able to dlopen the executable for this component to work.
|
|
AS_IF([test "$OMPI_ENABLE_DLOPEN_SUPPORT" = "1" -a "$crs_self_good" = "yes"],
|
|
[$1],
|
|
[$2])
|
|
])dnl
|