File: configure.m4

package info (click to toggle)
openmpi 3.1.3-11
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 118,572 kB
  • sloc: ansic: 628,972; f90: 17,993; makefile: 13,761; sh: 7,051; java: 6,360; perl: 3,215; cpp: 2,225; python: 1,350; lex: 988; fortran: 52; tcl: 12
file content (46 lines) | stat: -rw-r--r-- 1,623 bytes parent folder | download | duplicates (3)
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
35
36
37
38
39
40
41
42
43
44
45
46
# -*- shell-script -*-
#
# Copyright (c) 2004-2010 The Trustees of Indiana University.
#                         All rights reserved.
# Copyright (c) 2004-2005 The Trustees of the University of Tennessee.
#                         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 (c) 2010      Cisco Systems, Inc.  All rights reserved.
# $COPYRIGHT$
#
# Additional copyrights may follow
#
# $HEADER$
#

# MCA_crs_self_CONFIG([action-if-found], [action-if-not-found])
# -----------------------------------------------------------
AC_DEFUN([MCA_opal_crs_self_CONFIG],[
    AC_CONFIG_FILES([opal/mca/crs/self/Makefile])

    # If we don't want FT, don't compile this component
    AS_IF([test "$opal_want_ft_cr" = "1"],
        [crs_self_good="yes"],
        [crs_self_good="no"])

    # We need the dlfcn.h so we can access dlsym and friends
    AS_IF([test "$crs_self_good" = "yes"],
        [AC_CHECK_HEADER([dlfcn.h],
                         [crs_self_good="yes"],
                         [crs_self_good="no"])])

    # If they did not ask for dlopen support,
    # they probably do not want this component either
    AS_IF([test "$crs_self_good" = "yes"],
        [AS_IF([test "$OPAL_ENABLE_DLOPEN_SUPPORT" = "1"],
                [crs_self_good="yes"],
                [crs_self_good="no"])])

    AS_IF([test "$crs_self_good" = "yes"],
        [$1],
        [$2])

])dnl