⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 configure.m4

📁 MPI stands for the Message Passing Interface. Written by the MPI Forum (a large committee comprising
💻 M4
字号:
# -*- 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.# $COPYRIGHT$# # Additional copyrights may follow# # $HEADER$## MCA_smr_bproc_CONFIG([action-if-found], [action-if-not-found])# -----------------------------------------------------------AC_DEFUN([MCA_smr_bproc_CONFIG],[    OMPI_CHECK_BPROC([smr_bproc], [smr_bproc_good=1],                      [smr_bproc_good=0], [smr_bproc_good=0])    #BPROC_API_VERSION was added in bproc 4.0.0, and this component    #will only compile with >= bproc 4.0.0    AS_IF([test "$smr_bproc_good" = "1"],       [AC_MSG_CHECKING(for BPROC_API_VERSION)        AC_TRY_COMPILE([#include <sys/bproc.h>],            [int foo = BPROC_API_VERSION;],             have_bproc_api_ver_msg=yes smr_bproc_good=1,            have_bproc_api_ver_msg=no  smr_bproc_good=0)       AC_MSG_RESULT([$have_bproc_api_ver_msg])])    # if check worked, set wrapper flags if so.      # Evaluate succeed / fail    AS_IF([test "$smr_bproc_good" = "1"],          [smr_bproc_WRAPPER_EXTRA_LDFLAGS="$smr_bproc_LDFLAGS"           smr_bproc_WRAPPER_EXTRA_LIBS="$smr_bproc_LIBS"           $1],          [$2])    # set build flags to use in makefile    AC_SUBST([smr_bproc_CPPFLAGS])    AC_SUBST([smr_bproc_LDFLAGS])    AC_SUBST([smr_bproc_LIBS])])dnl

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -