2006-09-21 00:08:49 +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-09-21 00:08:49 +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-09-21 00:08:49 +00:00
|
|
|
# $COPYRIGHT$
|
2015-06-23 20:59:57 -07:00
|
|
|
#
|
2006-09-21 00:08:49 +00:00
|
|
|
# Additional copyrights may follow
|
2015-06-23 20:59:57 -07:00
|
|
|
#
|
2006-09-21 00:08:49 +00:00
|
|
|
# $HEADER$
|
|
|
|
#
|
|
|
|
|
|
|
|
# MCA_ras_loadleveler_CONFIG([action-if-found], [action-if-not-found])
|
|
|
|
# -----------------------------------------------------------
|
2010-09-17 23:04:06 +00:00
|
|
|
AC_DEFUN([MCA_orte_ras_loadleveler_CONFIG],[
|
|
|
|
AC_CONFIG_FILES([orte/mca/ras/loadleveler/Makefile])
|
|
|
|
|
2009-10-24 01:04:35 +00:00
|
|
|
ORTE_CHECK_LOADLEVELER([ras_loadleveler], [ras_loadleveler_good=1], [ras_loadleveler_good=0])
|
2006-09-21 00:08:49 +00:00
|
|
|
|
2015-06-23 20:59:57 -07:00
|
|
|
# if check worked, set wrapper flags if so.
|
2006-09-21 00:08:49 +00:00
|
|
|
# Evaluate succeed / fail
|
2013-02-28 01:35:55 +00:00
|
|
|
AS_IF([test "$ras_loadleveler_good" = "1"],
|
2013-01-29 00:00:43 +00:00
|
|
|
[$1],
|
2006-09-21 00:08:49 +00:00
|
|
|
[$2])
|
|
|
|
|
|
|
|
# set build flags to use in makefile
|
|
|
|
AC_SUBST([ras_loadleveler_CPPFLAGS])
|
|
|
|
AC_SUBST([ras_loadleveler_LDFLAGS])
|
|
|
|
AC_SUBST([ras_loadleveler_LIBS])
|
|
|
|
])dnl
|