2008-02-17 19:29:06 +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,
|
2008-02-17 19:29:06 +00: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-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.
|
2008-02-17 19:29:06 +00:00
|
|
|
# $COPYRIGHT$
|
2015-06-23 20:59:57 -07:00
|
|
|
#
|
2008-02-17 19:29:06 +00:00
|
|
|
# Additional copyrights may follow
|
2015-06-23 20:59:57 -07:00
|
|
|
#
|
2008-02-17 19:29:06 +00:00
|
|
|
# $HEADER$
|
|
|
|
#
|
|
|
|
|
|
|
|
# MCA_ras_alps_CONFIG([action-if-found], [action-if-not-found])
|
|
|
|
# -----------------------------------------------------------
|
2010-09-17 23:04:06 +00:00
|
|
|
AC_DEFUN([MCA_orte_ras_alps_CONFIG],[
|
|
|
|
AC_CONFIG_FILES([orte/mca/ras/alps/Makefile])
|
|
|
|
|
2012-08-13 22:57:55 +00:00
|
|
|
ORTE_CHECK_ALPS([ras_alps], [ras_alps_happy="yes"], [ras_alps_happy="no"])
|
|
|
|
|
|
|
|
# check for alps/apInfo.h
|
|
|
|
# save current CPPFLAGS
|
|
|
|
MCA_orte_ras_save_CPPFLAGS="$CPPFLAGS"
|
|
|
|
|
|
|
|
# add flags obtained from ORTE_CHECK_ALPS
|
|
|
|
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-22 21:24:35 +00:00
|
|
|
|
2013-02-28 01:35:55 +00:00
|
|
|
AS_IF([test "$ras_alps_happy" = "yes"], [$1], [$2])
|
2009-10-24 01:04:35 +00:00
|
|
|
])dnl
|