1
1
George Bosilca 64bff0e326
Disable monitoring if we compile statically.
Protect all components against compilation on static builds.

Signed-off-by: George Bosilca <bosilca@icl.utk.edu>
2017-09-25 12:18:23 -04:00

29 строки
936 B
Bash

# -*- shell-script -*-
#
# Copyright (c) 2017 The University of Tennessee and The University
# of Tennessee Research Foundation. All rights
# reserved.
# $COPYRIGHT$
#
# Additional copyrights may follow
#
# $HEADER$
#
# MCA_ompi_common_monitoring_CONFIG([action-if-can-compile],
# [action-if-cant-compile])
# ------------------------------------------------
AC_DEFUN([MCA_ompi_common_monitoring_CONFIG],[
AC_CONFIG_FILES([ompi/mca/common/monitoring/Makefile])
m4_ifdef([project_ompi], [
m4_ifdef([MCA_BUILD_ompi_common_monitoring_DSO_TRUE],
[AC_CONFIG_LINKS(profile2mat.pl:test/monitoring/profile2mat.pl
aggregate_profile.pl:test/monitoring/aggregate_profile.pl)])])
AS_IF([test MCA_BUILD_ompi_common_monitoring_DSO_TRUE == ''],
[$1],
[$2])
])dnl