2010-08-02 15:25:53 +04:00
|
|
|
# -*- shell-script -*-
|
|
|
|
#
|
|
|
|
#
|
2011-05-16 18:43:11 +04:00
|
|
|
# Copyright (c) 2011 Mellanox Technologies. All rights reserved.
|
2010-08-02 15:25:53 +04:00
|
|
|
# $COPYRIGHT$
|
|
|
|
#
|
|
|
|
# Additional copyrights may follow
|
|
|
|
#
|
|
|
|
# $HEADER$
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
# MCA_coll_fca_CONFIG([action-if-can-compile],
|
|
|
|
# [action-if-cant-compile])
|
|
|
|
# ------------------------------------------------
|
2010-09-20 10:27:43 +04:00
|
|
|
AC_DEFUN([MCA_ompi_coll_fca_CONFIG],[
|
|
|
|
AC_CONFIG_FILES([ompi/mca/coll/fca/Makefile])
|
|
|
|
|
2010-08-02 15:25:53 +04:00
|
|
|
OMPI_CHECK_FCA([coll_fca],
|
|
|
|
[coll_fca_happy="yes"],
|
|
|
|
[coll_fca_happy="no"])
|
|
|
|
|
|
|
|
AS_IF([test "$coll_fca_happy" = "yes"],
|
|
|
|
[coll_fca_WRAPPER_EXTRA_LDFLAGS="$coll_fca_LDFLAGS"
|
|
|
|
coll_fca_CPPFLAGS="$coll_fca_CPPFLAGS"
|
|
|
|
coll_fca_WRAPPER_EXTRA_CPPFLAGS="$coll_fca_CPPFLAGS"
|
|
|
|
coll_fca_WRAPPER_EXTRA_LIBS="$coll_fca_LIBS"
|
|
|
|
$1],
|
|
|
|
[$2])
|
|
|
|
|
|
|
|
# substitute in the things needed to build fca
|
|
|
|
AC_SUBST([coll_fca_CFLAGS])
|
|
|
|
AC_SUBST([coll_fca_CPPFLAGS])
|
|
|
|
AC_SUBST([coll_fca_LDFLAGS])
|
|
|
|
AC_SUBST([coll_fca_LIBS])
|
|
|
|
AC_SUBST(coll_fca_HOME, "$ompi_check_fca_dir")
|
|
|
|
])dnl
|
|
|
|
|