4d580fa706
sockaddr_in - seems to be a good indicator) * disable util/if code if no inet devices (again, no sockaddr_in) * add enable/disable flag to disable stacktrace pretty-print code (defaults to enabled). Seems there's something funky going on with the preprocessor on Red Storm that was causing problems - this was the easiest fix * clean up a bunch of the configure.m4 files to remove bogus comments, properly comment them, fix the dumb logic for happy/unhappy * Create a macro for testing both header and library for a package, since we seem to do this kind of test quite often. Handles the -I and -L search paths properly (including stripping out /usr and /usr/local if not needed) * Converted mvapi components to configure.m4, using the nice new ompi_check_package macro (above) This commit was SVN r6454.
36 строки
1.2 KiB
Bash
36 строки
1.2 KiB
Bash
# -*- shell-script -*-
|
|
#
|
|
# Copyright (c) 2004-2005 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$
|
|
#
|
|
# Additional copyrights may follow
|
|
#
|
|
# $HEADER$
|
|
#
|
|
|
|
# MCA_pls_tm_CONFIG([action-if-found], [action-if-not-found])
|
|
# -----------------------------------------------------------
|
|
AC_DEFUN([MCA_pls_tm_CONFIG],[
|
|
OMPI_CHECK_TM([pls_tm], [pls_tm_good=1], [pls_tm_good=0])
|
|
|
|
# if check worked, set wrapper flags if so.
|
|
# Evaluate succeed / fail
|
|
AS_IF([test "$pls_tm_good" = "1"],
|
|
[pls_tm_WRAPPER_EXTRA_LDFLAGS="$pls_tm_LDFLAGS"
|
|
pls_tm_WRAPPER_EXTRA_LIBS="$pls_tm_LIBS"
|
|
$1],
|
|
[$2])
|
|
|
|
# set build flags to use in makefile
|
|
AC_SUBST([pls_tm_CPPFLAGS])
|
|
AC_SUBST([pls_tm_LDFLAGS])
|
|
AC_SUBST([pls_tm_LIBS])
|
|
])dnl
|