1
1
openmpi/opal/mca/crs/self/configure.m4
Ralph Castain 40a2bfa238 WARNING: Work on the temp branch being merged here encountered problems with bugs in subversion. Considerable effort has gone into validating the branch. However, not all conditions can be checked, so users are cautioned that it may be advisable to not update from the trunk for a few days to allow MTT to identify platform-specific issues.
This merges the branch containing the revamped build system based around converting autogen from a bash script to a Perl program. Jeff has provided emails explaining the features contained in the change.

Please note that configure requirements on components HAVE CHANGED. For example. a configure.params file is no longer required in each component directory. See Jeff's emails for an explanation.

This commit was SVN r23764.
2010-09-17 23:04:06 +00:00

47 строки
1.6 KiB
Bash

# -*- shell-script -*-
#
# Copyright (c) 2004-2010 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 (c) 2010 Cisco Systems, Inc. All rights reserved.
# $COPYRIGHT$
#
# Additional copyrights may follow
#
# $HEADER$
#
# MCA_crs_self_CONFIG([action-if-found], [action-if-not-found])
# -----------------------------------------------------------
AC_DEFUN([MCA_opal_crs_self_CONFIG],[
AC_CONFIG_FILES([opal/mca/crs/self/Makefile])
# If we don't want FT, don't compile this component
AS_IF([test "$opal_want_ft_cr" = "1"],
[crs_self_good="yes"],
[crs_self_good="no"])
# We need the dlfcn.h so we can access dlsym and friends
AS_IF([test "$crs_self_good" = "yes"],
[AC_CHECK_HEADER([dlfcn.h],
[crs_self_good="yes"],
[crs_self_good="no"])])
# If they did not ask for dlopen support,
# they probably do not want this component either
AS_IF([test "$crs_self_good" = "yes"],
[AS_IF([test "$OPAL_ENABLE_DLOPEN_SUPPORT" = "1"],
[crs_self_good="yes"],
[crs_self_good="no"])])
AS_IF([test "$crs_self_good" = "yes"],
[$1],
[$2])
])dnl