2006-03-31 06:19:52 +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.
|
2006-06-14 03:28:26 +04:00
|
|
|
# Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
2006-03-31 06:19:52 +04:00
|
|
|
# University of Stuttgart. All rights reserved.
|
2006-06-14 03:28:26 +04:00
|
|
|
# Copyright (c) 2004-2006 The Regents of the University of California.
|
2006-03-31 06:19:52 +04:00
|
|
|
# All rights reserved.
|
|
|
|
# $COPYRIGHT$
|
|
|
|
#
|
|
|
|
# Additional copyrights may follow
|
|
|
|
#
|
|
|
|
# $HEADER$
|
|
|
|
#
|
|
|
|
|
2006-06-14 03:28:26 +04:00
|
|
|
|
2006-03-31 06:19:52 +04:00
|
|
|
# OMPI_CHECK_XCPU(prefix, [action-if-found], [action-if-not-found])
|
|
|
|
# --------------------------------------------------------
|
|
|
|
AC_DEFUN([OMPI_CHECK_XCPU],[
|
|
|
|
AC_ARG_WITH([xcpu],
|
|
|
|
[AC_HELP_STRING([--with-xcpu],
|
2006-06-14 03:28:26 +04:00
|
|
|
[=yes will Build XCPU launcher component (default: no)])])
|
2006-03-31 06:19:52 +04:00
|
|
|
|
2006-06-14 03:28:26 +04:00
|
|
|
AS_IF([test "$with_xcpu" = "yes"],
|
|
|
|
[$2],
|
|
|
|
[$3])
|
2006-03-31 06:19:52 +04:00
|
|
|
])
|