1
1

Fix some missed ompi->opal renamings

This commit was SVN r32345.
Этот коммит содержится в:
Nathan Hjelm 2014-07-29 18:59:59 +00:00
родитель 0a32ea87e7
Коммит b8c3b01643
2 изменённых файлов: 8 добавлений и 6 удалений

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

@ -1,6 +1,6 @@
# -*- shell-script -*- # -*- shell-script -*-
# #
# Copyright (c) 2013 Los Alamos National Security, LLC. All rights # Copyright (c) 2013-2014 Los Alamos National Security, LLC. All rights
# reserved. # reserved.
# $COPYRIGHT$ # $COPYRIGHT$
# #
@ -10,13 +10,14 @@
# #
AC_DEFUN([MCA_opal_btl_scif_CONFIG],[ AC_DEFUN([MCA_opal_btl_scif_CONFIG],[
OPAL_VAR_SCOPE_PUSH([opal_btl_scif_happy])
AC_CONFIG_FILES([opal/mca/btl/scif/Makefile]) AC_CONFIG_FILES([opal/mca/btl/scif/Makefile])
AC_ARG_WITH([scif], [AC_HELP_STRING([--with-scif(=DIR)]), AC_ARG_WITH([scif], [AC_HELP_STRING([--with-scif(=DIR)]),
[Build with SCIF, searching for headers in DIR])]) [Build with SCIF, searching for headers in DIR])])
OPAL_CHECK_WITHDIR([scif], [$with_scif], [include/scif.h]) OPAL_CHECK_WITHDIR([scif], [$with_scif], [include/scif.h])
btl_scif_happy="no" opal_btl_scif_happy="no"
if test "$with_scif" != "no" ; then if test "$with_scif" != "no" ; then
if test -n "$with_scif" -a "$with_scif" != "yes" ; then if test -n "$with_scif" -a "$with_scif" != "yes" ; then
@ -24,17 +25,18 @@ AC_DEFUN([MCA_opal_btl_scif_CONFIG],[
fi fi
OPAL_CHECK_PACKAGE([btl_scif], [scif.h], [scif], [scif_open], [], OPAL_CHECK_PACKAGE([btl_scif], [scif.h], [scif], [scif_open], [],
[$ompi_check_scif_dir], [], [btl_scif_happy="yes"], []) [$opal_check_scif_dir], [], [opal_btl_scif_happy="yes"], [])
if test "$btl_scif_happy" != "yes" -a -n "$with_scif" ; then if test "$opal_btl_scif_happy" != "yes" -a -n "$with_scif" ; then
AC_MSG_ERROR([SCIF support requested but not found. Aborting]) AC_MSG_ERROR([SCIF support requested but not found. Aborting])
fi fi
fi fi
AS_IF([test "$btl_scif_happy" = "yes"], [$1], [$2]) AS_IF([test "$opal_btl_scif_happy" = "yes"], [$1], [$2])
# substitute in the things needed to build scif # substitute in the things needed to build scif
AC_SUBST([btl_scif_CPPFLAGS]) AC_SUBST([btl_scif_CPPFLAGS])
AC_SUBST([btl_scif_LDFLAGS]) AC_SUBST([btl_scif_LDFLAGS])
AC_SUBST([btl_scif_LIBS]) AC_SUBST([btl_scif_LIBS])
OPAL_VAR_SCOPE_POP
])dnl ])dnl

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

@ -42,7 +42,7 @@ AC_DEFUN([OPAL_CHECK_XPMEM], [
fi fi
OPAL_CHECK_PACKAGE([$1],[xpmem.h sn/xpmem.h],[xpmem],[xpmem_make],[], OPAL_CHECK_PACKAGE([$1],[xpmem.h sn/xpmem.h],[xpmem],[xpmem_make],[],
[$ompi_check_xpmem_dir],[$ompi_check_xpmem_libdir], [ompi_check_xpmem_happy="yes"], []) [$opal_check_xpmem_dir],[$opal_check_xpmem_libdir], [opal_check_xpmem_happy="yes"], [])
if test "$opal_check_xpmem_happy" = "no" -a -n "$with_xpmem" -a "$with_xpmem" != "yes" ; then if test "$opal_check_xpmem_happy" = "no" -a -n "$with_xpmem" -a "$with_xpmem" != "yes" ; then
AC_MSG_ERROR([XPMEM support requested but not found. Aborting]) AC_MSG_ERROR([XPMEM support requested but not found. Aborting])