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.
|
2015-06-24 06:59:57 +03:00
|
|
|
# Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
2005-07-09 22:52:53 +04:00
|
|
|
# University of Stuttgart. All rights reserved.
|
|
|
|
# Copyright (c) 2004-2005 The Regents of the University of California.
|
|
|
|
# All rights reserved.
|
2014-12-04 00:32:42 +03:00
|
|
|
# Copyright (c) 2009-2010 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$
|
2015-06-24 06:59:57 +03:00
|
|
|
#
|
2005-07-09 22:52:53 +04:00
|
|
|
# Additional copyrights may follow
|
2015-06-24 06:59:57 +03:00
|
|
|
#
|
2005-07-09 22:52:53 +04:00
|
|
|
# $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
|
|
|
|
2015-06-24 06:59:57 +03:00
|
|
|
# if check worked, set wrapper flags if so.
|
2005-07-13 08:16:03 +04:00
|
|
|
# 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
|
|
|
|
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
|