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.3 KiB
Bash
36 строки
1.3 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_ras_lsf_bproc_CONFIG([action-if-found], [action-if-not-found])
|
|
# -----------------------------------------------------------
|
|
AC_DEFUN([MCA_ras_lsf_bproc_CONFIG],[
|
|
OMPI_CHECK_BPROC([ras_lsf_bproc], [ras_lsf_bproc_good=1], [ras_lsf_bproc_good=0])
|
|
|
|
# if check worked, set wrapper flags if so.
|
|
# Evaluate succeed / fail
|
|
AS_IF([test "$ras_lsf_bproc_good" = "1"],
|
|
[ras_lsf_bproc_WRAPPER_EXTRA_LDFLAGS="$ras_lsf_bproc_LDFLAGS"
|
|
ras_lsf_bproc_WRAPPER_EXTRA_LIBS="$ras_lsf_bproc_LIBS"
|
|
$1],
|
|
[$2])
|
|
|
|
# set build flags to use in makefile
|
|
AC_SUBST([ras_lsf_bproc_OBJCFLAGS])
|
|
AC_SUBST([ras_lsf_bproc_LDFLAGS])
|
|
AC_SUBST([ras_lsf_bproc_LIBS])
|
|
])dnl
|