File: configure.m4

package info (click to toggle)
openmpi 4.1.0-10
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 126,560 kB
  • sloc: ansic: 685,465; makefile: 42,952; f90: 19,220; sh: 7,002; java: 6,360; perl: 3,524; cpp: 2,227; python: 1,350; lex: 989; fortran: 61; tcl: 12
file content (34 lines) | stat: -rw-r--r-- 1,096 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
dnl -*- shell-script -*-
dnl
dnl Copyright (c) 2010-2011 Cisco Systems, Inc.  All rights reserved.
dnl Copyright (c) 2012      Los Alamos National Security, LLC.  All rights reserved.

dnl $COPYRIGHT$
dnl
dnl Additional copyrights may follow
dnl
dnl $HEADER$
dnl

# There will only be one component used in this framework, and it will
# be selected at configure time by priority.  If a component succeeds,
# it must also set the shell variable ompi_rte_base_include to the
# path from <top_srcdir>/ompi/mca/rte/ to the header containing the
# RTE interface.

dnl We only want one winning component.
m4_define(MCA_ompi_rte_CONFIGURE_MODE, STOP_AT_FIRST)

AC_DEFUN([MCA_ompi_rte_CONFIG],[
    ompi_rte_base_include=

    # configure all the components
    MCA_CONFIGURE_FRAMEWORK($1, $2, 1)

    AS_IF([test "$ompi_rte_base_include" = ""],
          [AC_MSG_ERROR([Did not find a suitable rte component])])

    AC_DEFINE_UNQUOTED([MCA_rte_IMPLEMENTATION_HEADER],
                       ["ompi/mca/rte/$ompi_rte_base_include"],
                       [Header to include for rte implementation])
])