2008-08-01 04:15:10 +04: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.
|
|
|
|
# Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
|
|
|
# University of Stuttgart. All rights reserved.
|
|
|
|
# Copyright (c) 2004-2005 The Regents of the University of California.
|
|
|
|
# All rights reserved.
|
2009-01-11 05:30:00 +03:00
|
|
|
# Copyright (c) 2007-2008 Cisco Systems, Inc. All rights reserved.
|
2008-08-01 04:15:10 +04:00
|
|
|
# Copyright (c) 2008 Sun Microsystems, Inc. All rights reserved.
|
|
|
|
# $COPYRIGHT$
|
|
|
|
#
|
|
|
|
# Additional copyrights may follow
|
|
|
|
#
|
|
|
|
# $HEADER$
|
|
|
|
#
|
|
|
|
|
|
|
|
# MCA_paffinity_darwin_CONFIG([action-if-found], [action-if-not-found])
|
|
|
|
# -----------------------------------------------------------
|
|
|
|
AC_DEFUN([MCA_paffinity_darwin_CONFIG],[
|
2008-08-02 02:54:24 +04:00
|
|
|
OMPI_VAR_SCOPE_PUSH([paff_darwin_happy])
|
2008-08-01 04:15:10 +04:00
|
|
|
# check to see if we have <mach/mach_host.h>
|
|
|
|
# as this is a Darwin-specific thing
|
2008-08-02 02:54:24 +04:00
|
|
|
AC_CHECK_HEADER([mach/mach_host.h], [paff_darwin_happy=yes], [paff_darwin_happy=no])
|
2008-08-01 04:15:10 +04:00
|
|
|
|
2008-08-02 02:54:24 +04:00
|
|
|
AS_IF([test "$paff_darwin_happy" = "yes"], [$1], [$2])
|
2008-08-01 15:41:08 +04:00
|
|
|
OMPI_VAR_SCOPE_POP
|
2008-08-01 04:15:10 +04:00
|
|
|
])dnl
|
|
|
|
|