1
1
This commit was SVN r20384.

The following SVN revision numbers were found above:
  r20383 --> open-mpi/ompi@e0638c84c8
Этот коммит содержится в:
Jeff Squyres 2009-01-29 17:59:04 +00:00
родитель e0638c84c8
Коммит 35c5e28a8e
16 изменённых файлов: 42 добавлений и 15 удалений

Просмотреть файл

@ -10,6 +10,7 @@
# University of Stuttgart. All rights reserved. # University of Stuttgart. All rights reserved.
# Copyright (c) 2004-2005 The Regents of the University of California. # Copyright (c) 2004-2005 The Regents of the University of California.
# All rights reserved. # All rights reserved.
# Copyright (c) 2009 Cisco Systems, Inc. All rights reserved.
# $COPYRIGHT$ # $COPYRIGHT$
# #
# Additional copyrights may follow # Additional copyrights may follow
@ -24,8 +25,9 @@
# -------------------------------------------------------- # --------------------------------------------------------
AC_DEFUN([OMPI_CHECK_BPROC],[ AC_DEFUN([OMPI_CHECK_BPROC],[
AC_ARG_WITH([bproc], AC_ARG_WITH([bproc],
[AC_HELP_STRING([--with-bproc], [AC_HELP_STRING([--with-bproc(=DIR)],
[Directory where the BProc software is installed])]) [Directory where the BProc software is installed])])
OMPI_CHECK_WITHDIR([bproc], [$with_bproc], [include/sys/bproc.h])
AS_IF([test ! -z "$with_bproc" -a "$with_bproc" = "no"],[$4], [ AS_IF([test ! -z "$with_bproc" -a "$with_bproc" = "no"],[$4], [
ompi_check_bproc_save_CPPFLAGS="$CPPFLAGS" ompi_check_bproc_save_CPPFLAGS="$CPPFLAGS"

Просмотреть файл

@ -10,6 +10,7 @@
# University of Stuttgart. All rights reserved. # University of Stuttgart. All rights reserved.
# Copyright (c) 2004-2005 The Regents of the University of California. # Copyright (c) 2004-2005 The Regents of the University of California.
# All rights reserved. # All rights reserved.
# Copyright (c) 2009 Cisco Systems, Inc. All rights reserved.
# $COPYRIGHT$ # $COPYRIGHT$
# #
# Additional copyrights may follow # Additional copyrights may follow
@ -124,9 +125,11 @@ AC_DEFUN([OMPI_CHECK_GM],[
AC_ARG_WITH([gm], AC_ARG_WITH([gm],
[AC_HELP_STRING([--with-gm(=DIR)], [AC_HELP_STRING([--with-gm(=DIR)],
[Build GM (Myrinet) support, searching for libraries in DIR])]) [Build GM (Myrinet) support, searching for libraries in DIR])])
OMPI_CHECK_WITHDIR([gm], [$with_gm], [include/gm.h])
AC_ARG_WITH([gm-libdir], AC_ARG_WITH([gm-libdir],
[AC_HELP_STRING([--with-gm-libdir=DIR], [AC_HELP_STRING([--with-gm-libdir=DIR],
[Search for GM (Myrinet) libraries in DIR])]) [Search for GM (Myrinet) libraries in DIR])])
OMPI_CHECK_WITHDIR([gm-libdir], [$with_gm_libdir], [libgm.*])
AS_IF([test "$with_gm" != "no"], AS_IF([test "$with_gm" != "no"],
[AS_IF([test ! -z "$with_gm" -a "$with_gm" != "yes"], [AS_IF([test ! -z "$with_gm" -a "$with_gm" != "yes"],

Просмотреть файл

@ -10,7 +10,7 @@
# University of Stuttgart. All rights reserved. # University of Stuttgart. All rights reserved.
# Copyright (c) 2004-2005 The Regents of the University of California. # Copyright (c) 2004-2005 The Regents of the University of California.
# All rights reserved. # All rights reserved.
# Copyright (c) 2006 Cisco Systems, Inc. All rights reserved. # Copyright (c) 2006-2009 Cisco Systems, Inc. All rights reserved.
# $COPYRIGHT$ # $COPYRIGHT$
# #
# Additional copyrights may follow # Additional copyrights may follow
@ -18,13 +18,13 @@
# $HEADER$ # $HEADER$
# #
# OMPI_CHECK_LOADLEVELER(prefix, [action-if-found], [action-if-not-found]) # OMPI_CHECK_LOADLEVELER(prefix, [action-if-found], [action-if-not-found])
# -------------------------------------------------------- # --------------------------------------------------------
AC_DEFUN([OMPI_CHECK_LOADLEVELER],[ AC_DEFUN([OMPI_CHECK_LOADLEVELER],[
AC_ARG_WITH([loadleveler], AC_ARG_WITH([loadleveler],
[AC_HELP_STRING([--with-loadleveler(=DIR)], [AC_HELP_STRING([--with-loadleveler(=DIR)],
[Directory where the loadleveler software is installed])]) [Directory where the loadleveler software is installed])])
OMPI_CHECK_WITHDIR([loadleveler], [$with_loadleveler], [include/llapi.h])
AS_IF([test "$with_loadleveler" = "no"], AS_IF([test "$with_loadleveler" = "no"],
[ompi_check_loadleveler_happy="no"], [ompi_check_loadleveler_happy="no"],

Просмотреть файл

@ -10,7 +10,7 @@
# University of Stuttgart. All rights reserved. # University of Stuttgart. All rights reserved.
# Copyright (c) 2004-2005 The Regents of the University of California. # Copyright (c) 2004-2005 The Regents of the University of California.
# All rights reserved. # All rights reserved.
# Copyright (c) 2007 Cisco Systems, Inc. All rights reserved. # Copyright (c) 2007-2009 Cisco Systems, Inc. All rights reserved.
# $COPYRIGHT$ # $COPYRIGHT$
# #
# Additional copyrights may follow # Additional copyrights may follow
@ -25,9 +25,11 @@ AC_DEFUN([OMPI_CHECK_LSF],[
AC_ARG_WITH([lsf], AC_ARG_WITH([lsf],
[AC_HELP_STRING([--with-lsf(=DIR)], [AC_HELP_STRING([--with-lsf(=DIR)],
[Build LSF support])]) [Build LSF support])])
OMPI_CHECK_WITHDIR([lsf], [$with_lsf], [include/lsf/lsbatch.h])
AC_ARG_WITH([lsf-libdir], AC_ARG_WITH([lsf-libdir],
[AC_HELP_STRING([--with-lsf-libdir=DIR], [AC_HELP_STRING([--with-lsf-libdir=DIR],
[Search for LSF libraries in DIR])]) [Search for LSF libraries in DIR])])
OMPI_CHECK_WITHDIR([lsf-libdir], [$with_lsf_libdir], [libbat.*])
# Defaults # Defaults
ompi_check_lsf_dir_msg="compiler default" ompi_check_lsf_dir_msg="compiler default"

Просмотреть файл

@ -10,6 +10,7 @@
# University of Stuttgart. All rights reserved. # University of Stuttgart. All rights reserved.
# Copyright (c) 2004-2005 The Regents of the University of California. # Copyright (c) 2004-2005 The Regents of the University of California.
# All rights reserved. # All rights reserved.
# Copyright (c) 2009 Cisco Systems, Inc. All rights reserved.
# $COPYRIGHT$ # $COPYRIGHT$
# #
# Additional copyrights may follow # Additional copyrights may follow
@ -67,9 +68,11 @@ AC_DEFUN([OMPI_CHECK_MX],[
AC_ARG_WITH([mx], AC_ARG_WITH([mx],
[AC_HELP_STRING([--with-mx(=DIR)], [AC_HELP_STRING([--with-mx(=DIR)],
[Build MX (Myrinet Express) support, searching for libraries in DIR])]) [Build MX (Myrinet Express) support, searching for libraries in DIR])])
OMPI_CHECK_WITHDIR([mx], [$with_mx], [include/myriexpress.h])
AC_ARG_WITH([mx-libdir], AC_ARG_WITH([mx-libdir],
[AC_HELP_STRING([--with-mx-libdir=DIR], [AC_HELP_STRING([--with-mx-libdir=DIR],
[Search for MX (Myrinet Express) libraries in DIR])]) [Search for MX (Myrinet Express) libraries in DIR])])
OMPI_CHECK_WITHDIR([mx-libdir], [$with_mx_libdir], [libmyriexpress.*])
ompi_check_mx_$1_save_CPPFLAGS="$CPPFLAGS" ompi_check_mx_$1_save_CPPFLAGS="$CPPFLAGS"
ompi_check_mx_$1_save_LDFLAGS="$LDFLAGS" ompi_check_mx_$1_save_LDFLAGS="$LDFLAGS"

Просмотреть файл

@ -10,6 +10,7 @@
# University of Stuttgart. All rights reserved. # University of Stuttgart. All rights reserved.
# Copyright (c) 2004-2006 The Regents of the University of California. # Copyright (c) 2004-2006 The Regents of the University of California.
# All rights reserved. # All rights reserved.
# Copyright (c) 2009 Cisco Systems, Inc. All rights reserved.
# $COPYRIGHT$ # $COPYRIGHT$
# #
# Additional copyrights may follow # Additional copyrights may follow
@ -40,6 +41,7 @@ AC_DEFUN([OMPI_CHECK_PORTALS],[
AC_ARG_WITH([portals], AC_ARG_WITH([portals],
[AC_HELP_STRING([--with-portals(=DIR)], [AC_HELP_STRING([--with-portals(=DIR)],
[Build Portals support, searching for installation in DIR])]) [Build Portals support, searching for installation in DIR])])
OMPI_CHECK_WITHDIR([portals], [$with_portals], [include/portals3.h])
AC_ARG_WITH([portals-config], AC_ARG_WITH([portals-config],
AC_HELP_STRING([--with-portals-config], AC_HELP_STRING([--with-portals-config],
[configuration to use for Portals support. [configuration to use for Portals support.

Просмотреть файл

@ -11,7 +11,7 @@
# Copyright (c) 2004-2006 The Regents of the University of California. # Copyright (c) 2004-2006 The Regents of the University of California.
# All rights reserved. # All rights reserved.
# Copyright (c) 2006 QLogic Corp. All rights reserved. # Copyright (c) 2006 QLogic Corp. All rights reserved.
# # Copyright (c) 2009 Cisco Systems, Inc. All rights reserved.
# $COPYRIGHT$ # $COPYRIGHT$
# #
# Additional copyrights may follow # Additional copyrights may follow
@ -28,9 +28,11 @@ AC_DEFUN([OMPI_CHECK_PSM],[
AC_ARG_WITH([psm], AC_ARG_WITH([psm],
[AC_HELP_STRING([--with-psm(=DIR)], [AC_HELP_STRING([--with-psm(=DIR)],
[Build PSM (QLogic InfiniPath PSM) support, searching for libraries in DIR])]) [Build PSM (QLogic InfiniPath PSM) support, searching for libraries in DIR])])
OMPI_CHECK_WITHDIR([psm], [$with_psm], [include/psm.h])
AC_ARG_WITH([psm-libdir], AC_ARG_WITH([psm-libdir],
[AC_HELP_STRING([--with-psm-libdir=DIR], [AC_HELP_STRING([--with-psm-libdir=DIR],
[Search for PSM (QLogic InfiniPath PSM) libraries in DIR])]) [Search for PSM (QLogic InfiniPath PSM) libraries in DIR])])
OMPI_CHECK_WITHDIR([psm-libdir], [$with_psm_libdir], [libpsm_infinipath.*])
ompi_check_psm_$1_save_CPPFLAGS="$CPPFLAGS" ompi_check_psm_$1_save_CPPFLAGS="$CPPFLAGS"
ompi_check_psm_$1_save_LDFLAGS="$LDFLAGS" ompi_check_psm_$1_save_LDFLAGS="$LDFLAGS"

Просмотреть файл

@ -10,7 +10,7 @@
# University of Stuttgart. All rights reserved. # University of Stuttgart. All rights reserved.
# Copyright (c) 2004-2005 The Regents of the University of California. # Copyright (c) 2004-2005 The Regents of the University of California.
# All rights reserved. # All rights reserved.
# Copyright (c) 2006-2007 Cisco Systems, Inc. All rights reserved. # Copyright (c) 2006-2009 Cisco Systems, Inc. All rights reserved.
# $COPYRIGHT$ # $COPYRIGHT$
# #
# Additional copyrights may follow # Additional copyrights may follow
@ -42,6 +42,7 @@ AC_DEFUN([OMPI_CHECK_TM],[
AC_ARG_WITH([tm], AC_ARG_WITH([tm],
[AC_HELP_STRING([--with-tm(=DIR)], [AC_HELP_STRING([--with-tm(=DIR)],
[Directory where the tm software is installed])]) [Directory where the tm software is installed])])
OMPI_CHECK_WITHDIR([tm], [$with_tm], [include/tm.h])
ompi_check_tm_found=no ompi_check_tm_found=no
AS_IF([test "$with_tm" = "no"], AS_IF([test "$with_tm" = "no"],

Просмотреть файл

@ -10,7 +10,7 @@
# University of Stuttgart. All rights reserved. # University of Stuttgart. All rights reserved.
# Copyright (c) 2004-2005 The Regents of the University of California. # Copyright (c) 2004-2005 The Regents of the University of California.
# All rights reserved. # All rights reserved.
# Copyright (c) 2007 Cisco Systems, Inc. All rights reserved. # Copyright (c) 2007-2009 Cisco Systems, Inc. All rights reserved.
# $COPYRIGHT$ # $COPYRIGHT$
# #
# Additional copyrights may follow # Additional copyrights may follow
@ -18,7 +18,6 @@
# $HEADER$ # $HEADER$
# #
# OMPI_CHECK_UDAPL(prefix, [action-if-found], [action-if-not-found]) # OMPI_CHECK_UDAPL(prefix, [action-if-found], [action-if-not-found])
# -------------------------------------------------------- # --------------------------------------------------------
# check if uDAPL support can be found. sets prefix_{CPPFLAGS, # check if uDAPL support can be found. sets prefix_{CPPFLAGS,
@ -28,9 +27,11 @@ AC_DEFUN([OMPI_CHECK_UDAPL],[
AC_ARG_WITH([udapl], AC_ARG_WITH([udapl],
[AC_HELP_STRING([--with-udapl(=DIR)], [AC_HELP_STRING([--with-udapl(=DIR)],
[Build uDAPL support, searching for libraries in DIR])]) [Build uDAPL support, searching for libraries in DIR])])
OMPI_CHECK_WITHDIR([udapl], [$with_udapl], [include/dat/udat.h])
AC_ARG_WITH([udapl-libdir], AC_ARG_WITH([udapl-libdir],
[AC_HELP_STRING([--with-udapl-libdir=DIR], [AC_HELP_STRING([--with-udapl-libdir=DIR],
[Search for uDAPL libraries in DIR])]) [Search for uDAPL libraries in DIR])])
OMPI_CHECK_WITHDIR([udapl-libdir], [$with_udapl_libdir], [libdat.*])
# Special case for OFED/Linux: the default /etc/dat.conf that # Special case for OFED/Linux: the default /etc/dat.conf that
# ships with OFED is broken in that it includes DAT providers that # ships with OFED is broken in that it includes DAT providers that

Просмотреть файл

@ -23,7 +23,7 @@ AC_DEFUN([OMPI_CHECK_WITHDIR],[
[AC_MSG_RESULT([not found]) [AC_MSG_RESULT([not found])
AC_MSG_WARN([Directory $2 not found]) AC_MSG_WARN([Directory $2 not found])
AC_MSG_ERROR([Cannot continue])], AC_MSG_ERROR([Cannot continue])],
[AS_IF([test "x`ls $2/$3`" = "x"], [AS_IF([test "x`ls $2/$3` 2> /dev/null" = "x"],
[AC_MSG_RESULT([not found]) [AC_MSG_RESULT([not found])
AC_MSG_WARN([Expected file $2/$3 not found]) AC_MSG_WARN([Expected file $2/$3 not found])
AC_MSG_ERROR([Cannot continue])], AC_MSG_ERROR([Cannot continue])],

Просмотреть файл

@ -3,6 +3,7 @@
# Copyright (c) 2007 The University of Tennessee and The University # Copyright (c) 2007 The University of Tennessee and The University
# of Tennessee Research Foundation. All rights # of Tennessee Research Foundation. All rights
# reserved. # reserved.
# Copyright (c) 2009 Cisco Systems, Inc. All rights reserved.
# $COPYRIGHT$ # $COPYRIGHT$
# #
# Additional copyrights may follow # Additional copyrights may follow
@ -19,9 +20,11 @@ AC_DEFUN([OMPI_CHECK_ELAN],[
AC_ARG_WITH([elan], AC_ARG_WITH([elan],
[AC_HELP_STRING([--with-elan(=DIR)], [AC_HELP_STRING([--with-elan(=DIR)],
[Build Elan (QsNet2) support, searching for libraries in DIR])]) [Build Elan (QsNet2) support, searching for libraries in DIR])])
OMPI_CHECK_WITHDIR([elan], [$with_elan], [include/elan/elan.h])
AC_ARG_WITH([elan-libdir], AC_ARG_WITH([elan-libdir],
[AC_HELP_STRING([--with-elan-libdir=DIR], [AC_HELP_STRING([--with-elan-libdir=DIR],
[Search for Elan (QsNet2) libraries in DIR])]) [Search for Elan (QsNet2) libraries in DIR])])
OMPI_CHECK_WITHDIR([elan-libdir], [$with_elan_libdir], [libelan.*])
AS_IF([test "$with_elan" != "no"], AS_IF([test "$with_elan" != "no"],
[AS_IF([test ! -z "$with_elan" -a "$with_elan" != "yes"], [AS_IF([test ! -z "$with_elan" -a "$with_elan" != "yes"],

Просмотреть файл

@ -10,6 +10,7 @@
# University of Stuttgart. All rights reserved. # University of Stuttgart. All rights reserved.
# Copyright (c) 2004-2005 The Regents of the University of California. # Copyright (c) 2004-2005 The Regents of the University of California.
# All rights reserved. # All rights reserved.
# Copyright (c) 2009 Cisco Systems, Inc. All rights reserved.
# $COPYRIGHT$ # $COPYRIGHT$
# #
# Additional copyrights may follow # Additional copyrights may follow
@ -17,7 +18,6 @@
# $HEADER$ # $HEADER$
# #
# OMPI_CHECK_SCTP(prefix, [action-if-found], [action-if-not-found]) # OMPI_CHECK_SCTP(prefix, [action-if-found], [action-if-not-found])
# -------------------------------------------------------- # --------------------------------------------------------
# check if SCTP support can be found. sets prefix_{CPPFLAGS, # check if SCTP support can be found. sets prefix_{CPPFLAGS,
@ -27,6 +27,7 @@ AC_DEFUN([OMPI_CHECK_SCTP],[
AC_ARG_WITH([sctp], AC_ARG_WITH([sctp],
[AC_HELP_STRING([--with-sctp(=DIR)], [AC_HELP_STRING([--with-sctp(=DIR)],
[Build SCTP support, searching for libraries in DIR])]) [Build SCTP support, searching for libraries in DIR])])
OMPI_CHECK_WITHDIR([sctp], [$with_sctp], [include/netinet/sctp.h])
AC_ARG_WITH([sctp-libdir], AC_ARG_WITH([sctp-libdir],
[AC_HELP_STRING([--with-sctp-libdir=DIR], [AC_HELP_STRING([--with-sctp-libdir=DIR],
[Search for SCTP libraries in DIR])]) [Search for SCTP libraries in DIR])])
@ -91,6 +92,8 @@ AC_DEFUN([OMPI_CHECK_SCTP],[
;; ;;
esac esac
OMPI_CHECK_WITHDIR([sctp-libdir], [$with_sctp_libdir], [lib${ompi_sctp_api_libname}.*])
AS_IF([test "$with_sctp" != "no" -a "$ompi_sctp_try_to_build" = "yes"], AS_IF([test "$with_sctp" != "no" -a "$ompi_sctp_try_to_build" = "yes"],
[AS_IF([test ! -z "$with_sctp" -a "$with_sctp" != "yes"], [AS_IF([test ! -z "$with_sctp" -a "$with_sctp" != "yes"],
[ompi_check_sctp_dir="$with_sctp"]) [ompi_check_sctp_dir="$with_sctp"])

Просмотреть файл

@ -8,6 +8,7 @@
# University of Stuttgart. All rights reserved. # University of Stuttgart. All rights reserved.
# Copyright (c) 2004-2006 The Regents of the University of California. # Copyright (c) 2004-2006 The Regents of the University of California.
# All rights reserved. # All rights reserved.
# Copyright (c) 2009 Cisco Systems, Inc. All rights reserved.
# $COPYRIGHT$ # $COPYRIGHT$
# #
# Additional copyrights may follow # Additional copyrights may follow
@ -21,9 +22,11 @@ AC_DEFUN([MCA_crs_blcr_CONFIG],[
AC_ARG_WITH([blcr], AC_ARG_WITH([blcr],
[AC_HELP_STRING([--with-blcr(=DIR)], [AC_HELP_STRING([--with-blcr(=DIR)],
[Path to BLCR Installation])]) [Path to BLCR Installation])])
OMPI_CHECK_WITHDIR([blcr], [$with_blcr], [include/libcr.h])
AC_ARG_WITH([blcr-libdir], AC_ARG_WITH([blcr-libdir],
[AC_HELP_STRING([--with-blcr-libdir=DIR], [AC_HELP_STRING([--with-blcr-libdir=DIR],
[Search for BLCR libraries in DIR])]) [Search for BLCR libraries in DIR])])
OMPI_CHECK_WITHDIR([blcr-libdir], [$with_blcr_libdir], [libcr.*])
check_crs_blcr_good="no" check_crs_blcr_good="no"

Просмотреть файл

@ -10,7 +10,7 @@
# University of Stuttgart. All rights reserved. # University of Stuttgart. All rights reserved.
# Copyright (c) 2004-2005 The Regents of the University of California. # Copyright (c) 2004-2005 The Regents of the University of California.
# All rights reserved. # All rights reserved.
# Copyright (c) 2008 Cisco Systems, Inc. All rights reserved. # Copyright (c) 2008-2009 Cisco Systems, Inc. All rights reserved.
# $COPYRIGHT$ # $COPYRIGHT$
# #
# Additional copyrights may follow # Additional copyrights may follow
@ -18,14 +18,14 @@
# $HEADER$ # $HEADER$
# #
# MCA_<framework>_<component>_CONFIG([action-if-can-compile], # MCA_<framework>_<component>_CONFIG([action-if-can-compile],
# [action-if-cant-compile]) # [action-if-cant-compile])
# ------------------------------------------------ # ------------------------------------------------
AC_DEFUN([MCA_maffinity_libnuma_CONFIG],[ AC_DEFUN([MCA_maffinity_libnuma_CONFIG],[
AC_ARG_WITH([libnuma], AC_ARG_WITH([libnuma],
[AC_HELP_STRING([--with-libnuma], [AC_HELP_STRING([--with-libnuma=(DIR)],
[Directory where the libnuma software is installed])]) [Directory where the libnuma software is installed])])
OMPI_CHECK_WITHDIR([libnuma], [$with_libnuma], [include/numa.h])
AS_IF([test "$with_libnuma" = "no"], AS_IF([test "$with_libnuma" = "no"],
[maffinity_libnuma_happy="no"], [maffinity_libnuma_happy="no"],

Просмотреть файл

@ -2,7 +2,7 @@
# #
# Copyright (c) 2004-2008 High Performance Computing Center Stuttgart, # Copyright (c) 2004-2008 High Performance Computing Center Stuttgart,
# University of Stuttgart. All rights reserved. # University of Stuttgart. All rights reserved.
# Copyright (c) 2008 Cisco Systems, Inc. All rights reserved. # Copyright (c) 2008-2009 Cisco Systems, Inc. All rights reserved.
# $COPYRIGHT$ # $COPYRIGHT$
# #
# Additional copyrights may follow # Additional copyrights may follow
@ -25,6 +25,7 @@ AC_DEFUN([MCA_memchecker_valgrind_CONFIG],[
AC_ARG_WITH([valgrind], AC_ARG_WITH([valgrind],
[AC_HELP_STRING([--with-valgrind(=DIR)], [AC_HELP_STRING([--with-valgrind(=DIR)],
[Directory where the valgrind software is installed])]) [Directory where the valgrind software is installed])])
OMPI_CHECK_WITHDIR([valgrind], [$with_valgrind], [include/valgrind/valgrind.h])
memchecker_valgrind_CPPFLAGS= memchecker_valgrind_CPPFLAGS=
opal_memchecker_valgrind_CPPFLAGS= opal_memchecker_valgrind_CPPFLAGS=

Просмотреть файл

@ -10,6 +10,7 @@
# University of Stuttgart. All rights reserved. # University of Stuttgart. All rights reserved.
# Copyright (c) 2004-2005 The Regents of the University of California. # Copyright (c) 2004-2005 The Regents of the University of California.
# All rights reserved. # All rights reserved.
# Copyright (c) 2009 Cisco Systems, Inc. All rights reserved.
# $COPYRIGHT$ # $COPYRIGHT$
# #
# Additional copyrights may follow # Additional copyrights may follow
@ -17,7 +18,6 @@
# $HEADER$ # $HEADER$
# #
# MCA_ess_portals_utcp_CONFIG(action-if-can-compile, # MCA_ess_portals_utcp_CONFIG(action-if-can-compile,
# [action-if-cant-compile]) # [action-if-cant-compile])
# ------------------------------------------------ # ------------------------------------------------
@ -32,6 +32,7 @@ AC_DEFUN([MCA_ess_portals_utcp_CONFIG],[
AC_ARG_WITH(portals, AC_ARG_WITH(portals,
AC_HELP_STRING([--with-portals=DIR], AC_HELP_STRING([--with-portals=DIR],
[Specify the installation directory of PORTALS])) [Specify the installation directory of PORTALS]))
OMPI_CHECK_WITHDIR([portals], [$with_portals], [include/portals3.h])
AS_IF([test -n "$with_portals"], AS_IF([test -n "$with_portals"],
[AS_IF([test -d "$with_portals/include"], [AS_IF([test -d "$with_portals/include"],