2006-03-12 05:32:35 +00:00
|
|
|
# -*- shell-script -*-
|
|
|
|
#
|
|
|
|
# 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-23 20:59:57 -07:00
|
|
|
# Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
2006-03-12 05:32:35 +00:00
|
|
|
# University of Stuttgart. All rights reserved.
|
|
|
|
# Copyright (c) 2004-2005 The Regents of the University of California.
|
|
|
|
# All rights reserved.
|
2010-09-17 23:04:06 +00:00
|
|
|
# Copyright (c) 2009-2010 Cisco Systems, Inc. All rights reserved.
|
2013-02-28 01:35:55 +00:00
|
|
|
# Copyright (c) 2011-2013 Los Alamos National Security, LLC.
|
2011-11-22 21:24:35 +00:00
|
|
|
# All rights reserved.
|
2006-03-12 05:32:35 +00:00
|
|
|
# $COPYRIGHT$
|
2015-06-23 20:59:57 -07:00
|
|
|
#
|
2006-03-12 05:32:35 +00:00
|
|
|
# Additional copyrights may follow
|
2015-06-23 20:59:57 -07:00
|
|
|
#
|
2006-03-12 05:32:35 +00:00
|
|
|
# $HEADER$
|
|
|
|
#
|
|
|
|
|
2008-02-28 01:57:57 +00:00
|
|
|
# MCA_plm_slurm_CONFIG([action-if-found], [action-if-not-found])
|
2006-03-12 05:32:35 +00:00
|
|
|
# -----------------------------------------------------------
|
2010-09-17 23:04:06 +00:00
|
|
|
AC_DEFUN([MCA_orte_plm_slurm_CONFIG],[
|
|
|
|
AC_CONFIG_FILES([orte/mca/plm/slurm/Makefile])
|
|
|
|
|
2009-10-24 01:04:35 +00:00
|
|
|
ORTE_CHECK_SLURM([plm_slurm], [plm_slurm_good=1], [plm_slurm_good=0])
|
2015-06-23 20:59:57 -07:00
|
|
|
|
|
|
|
# if check worked, set wrapper flags if so.
|
2006-03-12 05:32:35 +00:00
|
|
|
# Evaluate succeed / fail
|
2013-02-28 01:35:55 +00:00
|
|
|
AS_IF([test "$plm_slurm_good" = "1"],
|
2014-12-03 13:15:20 -08:00
|
|
|
[$1],
|
2006-03-12 05:32:35 +00:00
|
|
|
[$2])
|
|
|
|
|
|
|
|
# set build flags to use in makefile
|
2008-02-28 01:57:57 +00:00
|
|
|
AC_SUBST([plm_slurm_CPPFLAGS])
|
|
|
|
AC_SUBST([plm_slurm_LDFLAGS])
|
|
|
|
AC_SUBST([plm_slurm_LIBS])
|
2006-03-12 05:32:35 +00:00
|
|
|
])dnl
|