2008-02-17 22:29:06 +03: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-24 06:59:57 +03:00
|
|
|
# Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
2008-02-17 22:29:06 +03:00
|
|
|
# University of Stuttgart. All rights reserved.
|
|
|
|
# Copyright (c) 2004-2005 The Regents of the University of California.
|
|
|
|
# All rights reserved.
|
|
|
|
# Copyright (c) 2008 UT-Battelle, LLC
|
2010-09-18 03:04:06 +04:00
|
|
|
# Copyright (c) 2009-2010 Cisco Systems, Inc. All rights reserved.
|
2016-11-21 22:39:18 +03:00
|
|
|
# Copyright (c) 2011-2016 Los Alamos National Security, LLC.
|
2011-11-23 01:24:35 +04:00
|
|
|
# All rights reserved.
|
2008-02-17 22:29:06 +03:00
|
|
|
# $COPYRIGHT$
|
2015-06-24 06:59:57 +03:00
|
|
|
#
|
2008-02-17 22:29:06 +03:00
|
|
|
# Additional copyrights may follow
|
2015-06-24 06:59:57 +03:00
|
|
|
#
|
2008-02-17 22:29:06 +03:00
|
|
|
# $HEADER$
|
|
|
|
#
|
|
|
|
|
|
|
|
# MCA_ras_alps_CONFIG([action-if-found], [action-if-not-found])
|
|
|
|
# -----------------------------------------------------------
|
2010-09-18 03:04:06 +04:00
|
|
|
AC_DEFUN([MCA_orte_ras_alps_CONFIG],[
|
|
|
|
AC_CONFIG_FILES([orte/mca/ras/alps/Makefile])
|
|
|
|
|
2016-11-21 22:39:18 +03:00
|
|
|
OPAL_CHECK_ALPS([ras_alps], [ras_alps_happy="yes"], [ras_alps_happy="no"])
|
2012-08-14 02:57:55 +04:00
|
|
|
|
|
|
|
# check for alps/apInfo.h
|
|
|
|
# save current CPPFLAGS
|
|
|
|
MCA_orte_ras_save_CPPFLAGS="$CPPFLAGS"
|
|
|
|
|
2016-11-21 22:39:18 +03:00
|
|
|
# add flags obtained from OPAL_CHECK_ALPS
|
2012-08-14 02:57:55 +04:00
|
|
|
CPPFLAGS="$CPPFLAGS $ras_alps_CPPFLAGS"
|
|
|
|
|
|
|
|
AC_CHECK_HEADERS([alps/apInfo.h], [], [ras_alps_happy="no"])
|
|
|
|
|
|
|
|
# restore CPPFLAGS
|
|
|
|
CPPFLAGS="$MCA_orte_ras_save_CPPFLAGS"
|
|
|
|
|
|
|
|
AC_SUBST([ras_alps_CPPFLAGS])
|
2011-11-23 01:24:35 +04:00
|
|
|
|
2013-02-28 05:35:55 +04:00
|
|
|
AS_IF([test "$ras_alps_happy" = "yes"], [$1], [$2])
|
2009-10-24 05:04:35 +04:00
|
|
|
])dnl
|