Skip to content

Commit 746add4

Browse files
Ralph Castainjjhursey
Ralph Castain
authored andcommitted
Do not use "==" in configure "test" calls
Thanks to Kevin Buckley for pointing it out (cherry picked from commit 0b3f4c5) Signed-off-by: Joshua Hursey <jhursey@us.ibm.com>
1 parent 8fc6f50 commit 746add4

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

config/ompi_find_mpi_aint_count_offset.m4

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
# Copyright (c) 2009 Oak Ridge National Labs. All rights reserved.
1818
# Copyright (c) 2014 Research Organization for Information Science
1919
# and Technology (RIST). All rights reserved.
20+
# Copyright (c) 2015 Intel, Inc. All rights reserved.
2021
# $COPYRIGHT$
2122
#
2223
# Additional copyrights may follow
@@ -29,7 +30,7 @@ AC_DEFUN([OMPI_FIND_MPI_AINT_COUNT_OFFSET],[
2930
_OMPI_FIND_MPI_COUNT_TYPE
3031
_OMPI_FIND_MPI_OFFSET_TYPE
3132

32-
if test "$ompi_fortran_happy" == "1" && \
33+
if test "$ompi_fortran_happy" = "1" && \
3334
test "$OMPI_TRY_FORTRAN_BINDINGS" -gt "$OMPI_FORTRAN_NO_BINDINGS"; then
3435
_OMPI_FIND_MPI_INTEGER_KIND
3536
_OMPI_FIND_MPI_ADDRESS_KIND

config/opal_check_cray_pmi.m4

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ dnl All rights reserved.
1313
dnl Copyright (c) 2009-2011 Cisco Systems, Inc. All rights reserved.
1414
dnl Copyright (c) 2011-2014 Los Alamos National Security, LLC. All rights
1515
dnl reserved.
16-
dnl Copyright (c) 2014 Intel, Inc. All rights reserved.
16+
dnl Copyright (c) 2014-2015 Intel, Inc. All rights reserved.
1717
dnl Copyright (c) 2014-2015 Research Organization for Information Science
1818
dnl and Technology (RIST). All rights reserved.
1919
dnl $COPYRIGHT$
@@ -50,7 +50,7 @@ AC_DEFUN([OPAL_CHECK_CRAY_PMI_EXPLICIT],[
5050
# this logic assumes knowledge about all the dependencies of the Cray PMI library,
5151
# something that Cray doesn't generally document
5252
#
53-
AS_IF([test "$enable_static" == "yes"],
53+
AS_IF([test "$enable_static" = "yes"],
5454
[AS_IF([test -d /usr/lib/alps],
5555
[AC_MSG_RESULT([Detected presense of /usr/lib/alps])
5656
CRAY_PMI_LDFLAGS="$CRAY_PMI_LDFLAGS -L/usr/lib/alps -lalpslli -lalpsutil"

0 commit comments

Comments
 (0)