b8442ba505
flags, and mca flags are kept seperate until the very end. The main configure wrapper flags should now be modified by using the OPAL_WRAPPER_FLAGS_ADD macro. MCA components should either let <framework>_<component>_{LIBS,LDFLAGS} be copied over OR set <framework>_<component>_WRAPPER_EXTRA_{LIBS,LDFLAGS}. The situations in which WRAPPER CPPFLAGS can be set by MCA components was made very small to match the one use case where it makes sense. This commit was SVN r27950.
35 строки
829 B
Bash
35 строки
829 B
Bash
# -*- shell-script -*-
|
|
#
|
|
#
|
|
# Copyright (c) 2011 Mellanox Technologies. All rights reserved.
|
|
# $COPYRIGHT$
|
|
#
|
|
# Additional copyrights may follow
|
|
#
|
|
# $HEADER$
|
|
#
|
|
|
|
|
|
# MCA_coll_fca_CONFIG([action-if-can-compile],
|
|
# [action-if-cant-compile])
|
|
# ------------------------------------------------
|
|
AC_DEFUN([MCA_ompi_coll_fca_CONFIG],[
|
|
AC_CONFIG_FILES([ompi/mca/coll/fca/Makefile])
|
|
|
|
OMPI_CHECK_FCA([coll_fca],
|
|
[coll_fca_happy="yes"],
|
|
[coll_fca_happy="no"])
|
|
|
|
AS_IF([test "$coll_fca_happy" = "yes"],
|
|
[$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
|
|
|