2012-07-02 15:20:12 +00:00
|
|
|
# -*- shell-script -*-
|
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
# 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.
|
2012-09-01 01:42:37 +00:00
|
|
|
# Copyright (c) 2007-2012 Cisco Systems, Inc. All rights reserved.
|
2012-07-02 15:20:12 +00:00
|
|
|
# Copyright (c) 2009-2012 Mellanox Technologies. All rights reserved.
|
|
|
|
# Copyright (c) 2009-2012 Oak Ridge National Laboratory. All rights reserved.
|
|
|
|
# $COPYRIGHT$
|
|
|
|
#
|
|
|
|
# Additional copyrights may follow
|
|
|
|
#
|
|
|
|
# $HEADER$
|
|
|
|
#
|
|
|
|
|
2012-09-01 01:42:37 +00:00
|
|
|
# MCA_ompi_common_verbs_CONFIG([action-if-can-compile],
|
2012-07-02 15:20:12 +00:00
|
|
|
# [action-if-cant-compile])
|
|
|
|
# ------------------------------------------------
|
2012-09-01 01:42:37 +00:00
|
|
|
AC_DEFUN([MCA_ompi_common_verbs_CONFIG],[
|
|
|
|
AC_CONFIG_FILES([ompi/mca/common/verbs/Makefile])
|
|
|
|
common_verbs_happy="no"
|
|
|
|
OMPI_CHECK_OPENFABRICS([common_verbs],
|
|
|
|
[common_verbs_happy="yes"])
|
2012-07-02 15:20:12 +00:00
|
|
|
|
2012-09-01 01:42:37 +00:00
|
|
|
AS_IF([test "$common_verbs_happy" = "yes"],
|
2013-01-29 00:00:43 +00:00
|
|
|
[$1],
|
2012-07-02 15:20:12 +00:00
|
|
|
[$2])
|
|
|
|
|
|
|
|
# substitute in the things needed to build openib
|
2012-09-01 01:42:37 +00:00
|
|
|
AC_SUBST([common_verbs_CFLAGS])
|
|
|
|
AC_SUBST([common_verbs_CPPFLAGS])
|
|
|
|
AC_SUBST([common_verbs_LDFLAGS])
|
|
|
|
AC_SUBST([common_verbs_LIBS])
|
2012-07-02 15:20:12 +00:00
|
|
|
])dnl
|