File: configure.m4

package info (click to toggle)
openmpi 5.0.9-2
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 202,076 kB
  • sloc: ansic: 614,605; makefile: 42,348; sh: 11,201; javascript: 9,244; f90: 7,052; java: 6,404; perl: 5,192; python: 1,862; lex: 740; fortran: 61; cpp: 20; tcl: 12
file content (42 lines) | stat: -rw-r--r-- 993 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
# -*- shell-script -*-
#
# Copyright (c) 2009-2017 Cisco Systems, Inc.  All rights reserved
#
# $COPYRIGHT$
#
# Additional copyrights may follow
#
# $HEADER$
#

AC_DEFUN([MCA_opal_dl_dlopen_PRIORITY], [80])

#
# Force this component to compile in static-only mode
#
AC_DEFUN([MCA_opal_dl_dlopen_COMPILE_MODE], [
    AC_MSG_CHECKING([for MCA component $2:$3 compile mode])
    $4="static"
    AC_MSG_RESULT([$$4])
])

# MCA_dl_dlopen_CONFIG([action-if-can-compile],
#                      [action-if-cant-compile])
# ------------------------------------------------
AC_DEFUN([MCA_opal_dl_dlopen_CONFIG],[
    AC_CONFIG_FILES([opal/mca/dl/dlopen/Makefile])

    OAC_CHECK_PACKAGE([dlopen],
              [opal_dl_dlopen],
              [dlfcn.h],
              [dl],
              [dlopen],
              [opal_dl_dlopen_happy=yes],
              [opal_dl_dlopen_happy=no])

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

    AC_SUBST(opal_dl_dlopen_LIBS)
])