1
1
openmpi/ompi/mca/io/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

36 строки
1.2 KiB
Bash

# -*- shell-script -*-
#
# Copyright (c) 2006-2007 Los Alamos National Security, LLC.
# All rights reserved.
# $COPYRIGHT$
#
# Additional copyrights may follow
#
# $HEADER$
#
# MCA_ompi_io_CONFIG(project_name, framework_name)
# -------------------------------------------
AC_DEFUN([MCA_ompi_io_CONFIG],
[
AC_ARG_ENABLE([mpi-io],
[AC_HELP_STRING([--disable-mpi-io],
[Disable built-in support for MPI-2 I/O, likely because
an externally-provided MPI I/O package will be used.
Default is to use the internal component system and
its specially modified version of ROMIO])])
AS_IF([test "$enable_mpi_io" != "no"],
[define_mpi_io=1
OMPI_MPIF_MPI_IO_INCLUDE="include \"mpif-mpi-io.h\""],
[define_mpi_io=0
OMPI_MPIF_MPI_IO_INCLUDE=""])
MCA_CONFIGURE_FRAMEWORK([$1], [$2], [$define_mpi_io])
AC_DEFINE_UNQUOTED([OMPI_PROVIDE_MPI_FILE_INTERFACE], [$define_mpi_io],
[Whether OMPI should provide MPI File interface])
AM_CONDITIONAL([OMPI_PROVIDE_MPI_FILE_INTERFACE], [test "$define_mpi_io" = "1"])
AC_SUBST([OMPI_MPIF_MPI_IO_INCLUDE])
])