1
1
openmpi/opal/mca/common/verbs/configure.m4
2015-06-23 20:59:57 -07:00

42 строки
1.6 KiB
Bash

# -*- 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.
# Copyright (c) 2007-2012 Cisco Systems, Inc. All rights reserved.
# 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$
#
# MCA_opal_common_verbs_CONFIG([action-if-can-compile],
# [action-if-cant-compile])
# ------------------------------------------------
AC_DEFUN([MCA_opal_common_verbs_CONFIG],[
AC_CONFIG_FILES([opal/mca/common/verbs/Makefile])
common_verbs_happy="no"
OPAL_CHECK_OPENFABRICS([common_verbs],
[common_verbs_happy="yes"])
AS_IF([test "$common_verbs_happy" = "yes"],
[$1],
[$2])
# substitute in the things needed to build openib
AC_SUBST([common_verbs_CFLAGS])
AC_SUBST([common_verbs_CPPFLAGS])
AC_SUBST([common_verbs_LDFLAGS])
AC_SUBST([common_verbs_LIBS])
])dnl