From 0b3f4c55f8ebbb1c1bbc7e2c82b5716e7e84ee44 Mon Sep 17 00:00:00 2001 From: Ralph Castain Date: Sun, 20 Sep 2015 21:34:27 -0700 Subject: [PATCH] Do not use "==" in configure "test" calls Thanks to Kevin Buckley for pointing it out --- config/ompi_find_mpi_aint_count_offset.m4 | 3 ++- config/opal_check_cray_pmi.m4 | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/config/ompi_find_mpi_aint_count_offset.m4 b/config/ompi_find_mpi_aint_count_offset.m4 index b84dad355c..d16bcc7976 100644 --- a/config/ompi_find_mpi_aint_count_offset.m4 +++ b/config/ompi_find_mpi_aint_count_offset.m4 @@ -17,6 +17,7 @@ # Copyright (c) 2009 Oak Ridge National Labs. All rights reserved. # Copyright (c) 2014 Research Organization for Information Science # and Technology (RIST). All rights reserved. +# Copyright (c) 2015 Intel, Inc. All rights reserved. # $COPYRIGHT$ # # Additional copyrights may follow @@ -29,7 +30,7 @@ AC_DEFUN([OMPI_FIND_MPI_AINT_COUNT_OFFSET],[ _OMPI_FIND_MPI_COUNT_TYPE _OMPI_FIND_MPI_OFFSET_TYPE - if test "$ompi_fortran_happy" == "1" && \ + if test "$ompi_fortran_happy" = "1" && \ test "$OMPI_TRY_FORTRAN_BINDINGS" -gt "$OMPI_FORTRAN_NO_BINDINGS"; then _OMPI_FIND_MPI_INTEGER_KIND _OMPI_FIND_MPI_ADDRESS_KIND diff --git a/config/opal_check_cray_pmi.m4 b/config/opal_check_cray_pmi.m4 index 9789aba050..8e3dfee58f 100644 --- a/config/opal_check_cray_pmi.m4 +++ b/config/opal_check_cray_pmi.m4 @@ -13,7 +13,7 @@ dnl All rights reserved. dnl Copyright (c) 2009-2011 Cisco Systems, Inc. All rights reserved. dnl Copyright (c) 2011-2014 Los Alamos National Security, LLC. All rights dnl reserved. -dnl Copyright (c) 2014 Intel, Inc. All rights reserved. +dnl Copyright (c) 2014-2015 Intel, Inc. All rights reserved. dnl Copyright (c) 2014-2015 Research Organization for Information Science dnl and Technology (RIST). All rights reserved. dnl $COPYRIGHT$ @@ -50,7 +50,7 @@ AC_DEFUN([OPAL_CHECK_CRAY_PMI_EXPLICIT],[ # this logic assumes knowledge about all the dependencies of the Cray PMI library, # something that Cray doesn't generally document # - AS_IF([test "$enable_static" == "yes"], + AS_IF([test "$enable_static" = "yes"], [AS_IF([test -d /usr/lib/alps], [AC_MSG_RESULT([Detected presense of /usr/lib/alps]) CRAY_PMI_LDFLAGS="$CRAY_PMI_LDFLAGS -L/usr/lib/alps -lalpslli -lalpsutil"