1
1
openmpi/orte/mca/state/db/configure.m4
Ralph Castain 3cd96928a9 Use the OMPI_CHECK_PACKAGE macro to check both header file and library existence before building the component.
Still haven't gotten the right libraries linked in...so add ompi_ignore/unignore until we get it all fully integrated.

This commit was SVN r22843.
2010-03-17 00:46:12 +00:00

25 строки
681 B
Bash

dnl -*- shell-script -*-
dnl
dnl Copyright (c) 2010 Cisco Systems, Inc. All rights reserved.
dnl $COPYRIGHT$
dnl
dnl Additional copyrights may follow
dnl
dnl $HEADER$
dnl
# MCA_state_db_CONFIG([action-if-found], [action-if-not-found])
# -----------------------------------------------------------
AC_DEFUN([MCA_state_db_CONFIG], [
# only build if db.h and its corresponding library are found
OMPI_CHECK_PACKAGE([state_db],
[db.h],
[db],
[dbopen],
[],
[],
[],
[$1],
[$2])])
])dnl