2005-07-09 22:52:53 +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-07-09 22:52:53 +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.
|
2014-12-02 01:59:10 +03:00
|
|
|
# Copyright (c) 2009-2014 Cisco Systems, Inc. All rights reserved.
|
2013-02-28 05:35:55 +04:00
|
|
|
# Copyright (c) 2011-2013 Los Alamos National Security, LLC.
|
2011-11-23 01:24:35 +04:00
|
|
|
# All rights reserved.
|
2005-07-09 22:52:53 +04:00
|
|
|
# $COPYRIGHT$
|
|
|
|
#
|
|
|
|
# Additional copyrights may follow
|
|
|
|
#
|
|
|
|
# $HEADER$
|
|
|
|
#
|
|
|
|
|
2007-07-10 16:43:05 +04:00
|
|
|
# MCA_ras_lsf_CONFIG([action-if-found], [action-if-not-found])
|
2005-07-13 08:16:03 +04:00
|
|
|
# -----------------------------------------------------------
|
2010-09-18 03:04:06 +04:00
|
|
|
AC_DEFUN([MCA_orte_ras_lsf_CONFIG],[
|
|
|
|
AC_CONFIG_FILES([orte/mca/ras/lsf/Makefile])
|
|
|
|
|
2009-10-24 05:04:35 +04:00
|
|
|
ORTE_CHECK_LSF([ras_lsf], [ras_lsf_good=1], [ras_lsf_good=0])
|
2005-07-09 22:52:53 +04:00
|
|
|
|
2005-07-13 08:16:03 +04:00
|
|
|
# if check worked, set wrapper flags if so.
|
|
|
|
# Evaluate succeed / fail
|
2013-02-28 05:35:55 +04:00
|
|
|
AS_IF([test "$ras_lsf_good" = "1"],
|
2014-12-04 00:15:20 +03:00
|
|
|
[$1],
|
2005-07-13 08:16:03 +04:00
|
|
|
[$2])
|
2005-07-09 22:52:53 +04:00
|
|
|
|
2014-12-04 00:15:20 +03:00
|
|
|
$1_WRAPPER_EXTRA_LDFLAGS=[$]$1_LDFLAGS
|
|
|
|
$1_WRAPPER_EXTRA_LIBS=[$]$1_LIBS
|
|
|
|
|
2005-07-13 08:16:03 +04:00
|
|
|
# set build flags to use in makefile
|
2007-07-10 16:43:05 +04:00
|
|
|
AC_SUBST([ras_lsf_CPPFLAGS])
|
|
|
|
AC_SUBST([ras_lsf_LDFLAGS])
|
|
|
|
AC_SUBST([ras_lsf_LIBS])
|
2005-07-09 22:52:53 +04:00
|
|
|
])dnl
|