1
1
openmpi/opal/mca/sysinfo/solaris/configure.m4
Ralph Castain 40a2bfa238 WARNING: Work on the temp branch being merged here encountered problems with bugs in subversion. Considerable effort has gone into validating the branch. However, not all conditions can be checked, so users are cautioned that it may be advisable to not update from the trunk for a few days to allow MTT to identify platform-specific issues.
This merges the branch containing the revamped build system based around converting autogen from a bash script to a Perl program. Jeff has provided emails explaining the features contained in the change.

Please note that configure requirements on components HAVE CHANGED. For example. a configure.params file is no longer required in each component directory. See Jeff's emails for an explanation.

This commit was SVN r23764.
2010-09-17 23:04:06 +00:00

50 строки
1.6 KiB
Bash

# -*- shell-script -*-
#
# Copyright (c) 2010 Oracle and/or its affiliates. All rights reserved.
#
# $COPYRIGHT$
#
# Additional copyrights may follow
#
# $HEADER$
#
AC_DEFUN([MCA_opal_sysinfo_solaris_PRIORITY], [60])
# MCA_sysinfo_solaris_CONFIG(action-if-can-compile,
# [action-if-cant-compile])
# ------------------------------------------------
AC_DEFUN([MCA_opal_sysinfo_solaris_CONFIG],[
AC_CONFIG_FILES([opal/mca/sysinfo/solaris/Makefile])
# check to see if we are on a solaris machine
case $host in
*solaris*)
if test "x$ompi_cv_c_compiler_vendor" = "xsun"; then
sysinfo_solaris_happy=yes
AC_MSG_NOTICE([*** Open MPI supports solaris sysinfo on this platform])
else
sysinfo_solaris_happy=no
fi
;;
*)
sysinfo_solaris_happy=no
AC_MSG_NOTICE([*** Open MPI does not support solaris sysinfo on this platform])
;;
esac
AS_IF([test "$sysinfo_solaris_happy" = "yes"],
[OPAL_SETUP_COMPONENT_PACKAGE([sysinfo],
[solaris],
[libpicl],
[include/picl.h],
[lib/libpicl*],
[picl.h],
[picl],
[picl_initialize],
[],
[AC_CHECK_DECLS([MPOL_MF_MOVE])
$1],
[$2])],
[$2])
])