1
1
openmpi/orte/mca/pls/poe/configure.m4
Jeff Squyres 31ea80cd0b Simplify the poe configure.m4 -- if we're on AIX, always build it. If
we're not on AIX, don't build it.

This commit was SVN r7291.
2005-09-10 10:40:26 +00:00

37 строки
1.1 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_poe_CONFIG([action-if-found], [action-if-not-found])
# -----------------------------------------------------------
AC_DEFUN([MCA_pls_poe_CONFIG],[
# POE is only supported on AIX. We only need executables (no
# header files or libraries), but those can be found (or not) at
# run-time. So if we're on AIX, build this component.
AC_MSG_CHECKING([if on AIX])
case $host_os in
aix3* | aix4* | aix5*)
happy=yes
;;
*)
happy=no
;;
esac
AC_MSG_RESULT([$happy])
AS_IF([test "$happy" = "yes"], [$1], [$2])
])