From 412364d66eaa92caca6ef18a7059c76fdc04e7d4 Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Wed, 19 Mar 2014 21:38:01 +0000 Subject: [PATCH] Change "test ==" to "test =" to be more portable. This commit was SVN r31159. --- config/oshmem_configure_options.m4 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config/oshmem_configure_options.m4 b/config/oshmem_configure_options.m4 index 52ef5ff310..cf9b141061 100644 --- a/config/oshmem_configure_options.m4 +++ b/config/oshmem_configure_options.m4 @@ -25,8 +25,8 @@ AC_ARG_ENABLE([oshmem], [Enable building the OpenSHMEM interface (disabled by default)])], [oshmem_arg_given=yes], [oshmem_arg_given=no]) -if test "$oshmem_arg_given" == "yes"; then - if test "$enable_oshmem" == "yes"; then +if test "$oshmem_arg_given" = "yes"; then + if test "$enable_oshmem" = "yes"; then AC_MSG_RESULT([yes]) if test "$opal_found_linux" != "yes"; then AC_MSG_WARN([OpenSHMEM support was requested, but currently]) @@ -36,7 +36,7 @@ if test "$oshmem_arg_given" == "yes"; then fi AC_MSG_RESULT([no]) else - if test "$opal_found_linux" == "yes"; then + if test "$opal_found_linux" = "yes"; then enable_oshmem=yes AC_MSG_RESULT([yes]) else @@ -120,7 +120,7 @@ AC_HELP_STRING([--enable-oshmem-fortran], [enable OSHMEM Fortran bindings (default: enabled if Fortran compiler found)])) if test "$enable_oshmem" != "no" -a "$enable_oshmem_fortran" != "no"; then # If no OMPI FORTRAN, bail - AS_IF([test $OMPI_WANT_FORTRAN_BINDINGS -eq 0 -a "$enable_oshmem_fortran" == "yes"], + AS_IF([test $OMPI_WANT_FORTRAN_BINDINGS -eq 0 -a "$enable_oshmem_fortran" = "yes"], [AC_MSG_RESULT([bad value OMPI_WANT_FORTRAN_BINDINGS: ($OMPI_WANT_FORTRAN_BINDINGS)]) AC_MSG_WARN([Your request to --enable-oshmem-fortran can only be satisfied if fortran support is enabled in OMPI. You see this message because OMPI fortran support has been explicitly disabled via --disable-mpi-fortran and OSHMEM fortran support was explicitly enabled with --enable-oshmem-fortran.