2005-07-09 18:52:53 +00:00
|
|
|
# -*- shell-script -*-
|
|
|
|
#
|
2005-11-05 19:57:48 +00:00
|
|
|
# Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
|
|
|
|
# University Research and Technology
|
|
|
|
# Corporation. All rights reserved.
|
|
|
|
# Copyright (c) 2004-2005 The University of Tennessee and The University
|
|
|
|
# of Tennessee Research Foundation. All rights
|
|
|
|
# reserved.
|
2005-07-09 18:52:53 +00:00
|
|
|
# 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.
|
2010-09-17 23:04:06 +00:00
|
|
|
# Copyright (c) 2010 Cisco Systems, Inc. All rights reserved.
|
2005-07-09 18:52:53 +00:00
|
|
|
# $COPYRIGHT$
|
|
|
|
#
|
|
|
|
# Additional copyrights may follow
|
|
|
|
#
|
|
|
|
# $HEADER$
|
|
|
|
#
|
|
|
|
|
2005-07-10 01:09:31 +00:00
|
|
|
|
|
|
|
# MCA_btl_portals_CONFIG(action-if-can-compile,
|
|
|
|
# [action-if-cant-compile])
|
|
|
|
# ------------------------------------------------
|
2010-09-17 23:04:06 +00:00
|
|
|
AC_DEFUN([MCA_ompi_btl_portals_CONFIG],[
|
|
|
|
AC_CONFIG_FILES([ompi/mca/btl/portals/Makefile])
|
|
|
|
|
2006-07-04 01:20:20 +00:00
|
|
|
OMPI_CHECK_PORTALS([btl_portals],
|
|
|
|
[btl_portals_happy="yes"],
|
|
|
|
[btl_portals_happy="no"])
|
2005-07-10 01:09:31 +00:00
|
|
|
|
2006-07-04 01:20:20 +00:00
|
|
|
AS_IF([test "$btl_portals_happy" = "yes"],
|
|
|
|
[btl_portals_WRAPPER_EXTRA_LDFLAGS="$btl_portals_LDFLAGS"
|
|
|
|
btl_portals_WRAPPER_EXTRA_LIBS="$btl_portals_LIBS"
|
|
|
|
$1],
|
|
|
|
[$2])
|
2005-07-09 18:52:53 +00:00
|
|
|
|
2009-11-09 14:26:24 +00:00
|
|
|
AC_CHECK_HEADERS([catamount/cnos_mpi_os.h], [],
|
|
|
|
[AC_CHECK_HEADERS([cnos_mpi_os.h], [], [$2],
|
|
|
|
[AC_INCLUDES_DEFAULT])],
|
|
|
|
[AC_INCLUDES_DEFAULT])
|
|
|
|
|
|
|
|
|
2006-07-04 01:20:20 +00:00
|
|
|
# substitute in the things needed to build portals
|
2005-07-09 18:52:53 +00:00
|
|
|
AC_SUBST([btl_portals_CPPFLAGS])
|
|
|
|
AC_SUBST([btl_portals_LDFLAGS])
|
|
|
|
AC_SUBST([btl_portals_LIBS])
|
|
|
|
])dnl
|