diff --git a/config/oshmem_configure_options.m4 b/config/oshmem_configure_options.m4 index 77615fb161..2cfd803e2a 100644 --- a/config/oshmem_configure_options.m4 +++ b/config/oshmem_configure_options.m4 @@ -93,7 +93,7 @@ AC_MSG_CHECKING([if want to build OSHMEM fortran bindings]) AC_ARG_ENABLE(oshmem-fortran, AC_HELP_STRING([--enable-oshmem-fortran], [enable OSHMEM Fortran bindings (default: enabled if Fortran compiler found)])) -if test "$enable_oshmem_fortran" != "no" -a "$ompi_fortran_happy" = 1; then +if test "$enable_oshmem_fortran" != "no"; then # If no OMPI FORTRAN, bail AS_IF([test $OMPI_WANT_FORTRAN_BINDINGS -eq 0 -a "$enable_oshmem" != "no"], [AC_MSG_RESULT([bad value OMPI_WANT_FORTRAN_BINDINGS: ($OMPI_WANT_FORTRAN_BINDINGS)]) diff --git a/configure.ac b/configure.ac index 895aa2473a..2969f76965 100644 --- a/configure.ac +++ b/configure.ac @@ -605,7 +605,7 @@ m4_ifdef([project_ompi], [OMPI_SETUP_MPI_FORTRAN], [ompi_fortran_happy=0]) AM_CONDITIONAL(OSHMEM_BUILD_FORTRAN_BINDINGS, [test "$ompi_fortran_happy" == "1" -a \ "$OMPI_WANT_FORTRAN_BINDINGS" == "1" -a \ - "$oshmem_fortran_enable" != "no"]) + "$enable_oshmem_fortran" != "no"]) # checkpoint results AC_CACHE_SAVE