2005-05-09 20:28:05 +04:00
|
|
|
# -*- shell-script -*-
|
|
|
|
#
|
2005-11-05 22:57:48 +03: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-05-09 20:28:05 +04: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-18 03:04:06 +04:00
|
|
|
# Copyright (c) 2009-2010 Cisco Systems, Inc. All rights reserved.
|
2005-05-09 20:28:05 +04:00
|
|
|
# $COPYRIGHT$
|
|
|
|
#
|
|
|
|
# Additional copyrights may follow
|
|
|
|
#
|
|
|
|
# $HEADER$
|
|
|
|
#
|
|
|
|
|
2005-07-13 08:16:03 +04:00
|
|
|
# MCA_ras_tm_CONFIG([action-if-found], [action-if-not-found])
|
|
|
|
# -----------------------------------------------------------
|
2010-09-18 03:04:06 +04:00
|
|
|
AC_DEFUN([MCA_orte_ras_tm_CONFIG],[
|
|
|
|
AC_CONFIG_FILES([orte/mca/ras/tm/Makefile])
|
|
|
|
|
2009-10-24 05:04:35 +04:00
|
|
|
ORTE_CHECK_TM([ras_tm], [ras_tm_good=1], [ras_tm_good=0])
|
2005-07-13 08:16:03 +04:00
|
|
|
|
|
|
|
# if check worked, set wrapper flags if so.
|
|
|
|
# Evaluate succeed / fail
|
|
|
|
AS_IF([test "$ras_tm_good" = "1"],
|
2005-07-09 22:52:53 +04:00
|
|
|
[ras_tm_WRAPPER_EXTRA_LDFLAGS="$ras_tm_LDFLAGS"
|
|
|
|
ras_tm_WRAPPER_EXTRA_LIBS="$ras_tm_LIBS"
|
2005-07-13 08:16:03 +04:00
|
|
|
$1],
|
|
|
|
[$2])
|
2005-05-09 20:28:05 +04:00
|
|
|
|
2005-07-13 08:16:03 +04:00
|
|
|
# set build flags to use in makefile
|
2005-07-09 22:52:53 +04:00
|
|
|
AC_SUBST([ras_tm_CPPFLAGS])
|
|
|
|
AC_SUBST([ras_tm_LDFLAGS])
|
|
|
|
AC_SUBST([ras_tm_LIBS])
|
2005-05-09 20:28:05 +04:00
|
|
|
])dnl
|