From b8c3b01643f7aadb9165723ffdce29b8db5bee9e Mon Sep 17 00:00:00 2001 From: Nathan Hjelm Date: Tue, 29 Jul 2014 18:59:59 +0000 Subject: [PATCH] Fix some missed ompi->opal renamings This commit was SVN r32345. --- opal/mca/btl/scif/configure.m4 | 12 +++++++----- opal/mca/btl/vader/configure.m4 | 2 +- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/opal/mca/btl/scif/configure.m4 b/opal/mca/btl/scif/configure.m4 index 3e717ac38f..33b292197a 100644 --- a/opal/mca/btl/scif/configure.m4 +++ b/opal/mca/btl/scif/configure.m4 @@ -1,6 +1,6 @@ # -*- shell-script -*- # -# Copyright (c) 2013 Los Alamos National Security, LLC. All rights +# Copyright (c) 2013-2014 Los Alamos National Security, LLC. All rights # reserved. # $COPYRIGHT$ # @@ -10,13 +10,14 @@ # AC_DEFUN([MCA_opal_btl_scif_CONFIG],[ + OPAL_VAR_SCOPE_PUSH([opal_btl_scif_happy]) AC_CONFIG_FILES([opal/mca/btl/scif/Makefile]) AC_ARG_WITH([scif], [AC_HELP_STRING([--with-scif(=DIR)]), [Build with SCIF, searching for headers in DIR])]) 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 -n "$with_scif" -a "$with_scif" != "yes" ; then @@ -24,17 +25,18 @@ AC_DEFUN([MCA_opal_btl_scif_CONFIG],[ fi 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]) 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 AC_SUBST([btl_scif_CPPFLAGS]) AC_SUBST([btl_scif_LDFLAGS]) AC_SUBST([btl_scif_LIBS]) + OPAL_VAR_SCOPE_POP ])dnl diff --git a/opal/mca/btl/vader/configure.m4 b/opal/mca/btl/vader/configure.m4 index 80147d4bdf..00cf50fc5f 100644 --- a/opal/mca/btl/vader/configure.m4 +++ b/opal/mca/btl/vader/configure.m4 @@ -42,7 +42,7 @@ AC_DEFUN([OPAL_CHECK_XPMEM], [ fi 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 AC_MSG_ERROR([XPMEM support requested but not found. Aborting])