From 9a6e1b71902498ddcf23b725e630258fbcd3417b Mon Sep 17 00:00:00 2001 From: Gilles Gouaillardet Date: Fri, 18 Mar 2016 16:36:04 +0900 Subject: [PATCH] configury: consider double _Complex as a candidate for the C equivalent of Fortran COMPLEX this is necessary when -d8 flag is passed to Fortran compiler (cherry picked from commit 529ab559d443cb73831bf4ff42d7f56d5e8dc675) Thanks to Alexander Klein for pointing out that we neglected to bring this fix to the release branches. Signed-off-by: Jeff Squyres --- config/ompi_setup_mpi_fortran.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/ompi_setup_mpi_fortran.m4 b/config/ompi_setup_mpi_fortran.m4 index d413bc177ae..089f7c5b934 100644 --- a/config/ompi_setup_mpi_fortran.m4 +++ b/config/ompi_setup_mpi_fortran.m4 @@ -15,7 +15,7 @@ dnl Copyright (c) 2006-2008 Sun Microsystems, Inc. All rights reserved. dnl Copyright (c) 2006-2007 Los Alamos National Security, LLC. All rights dnl reserved. dnl Copyright (c) 2009 Oak Ridge National Labs. All rights reserved. -dnl Copyright (c) 2014-2015 Research Organization for Information Science +dnl Copyright (c) 2014-2016 Research Organization for Information Science dnl and Technology (RIST). All rights reserved. dnl Copyright (c) 2016 IBM Corporation. All rights reserved. dnl $COPYRIGHT$ @@ -188,7 +188,7 @@ AC_DEFUN([OMPI_SETUP_MPI_FORTRAN],[ OMPI_FORTRAN_CHECK([DOUBLE PRECISION], [yes], [float, double, long double], [-1], [yes]) - OMPI_FORTRAN_CHECK([COMPLEX], [yes], [float _Complex], [-1], [no]) + OMPI_FORTRAN_CHECK([COMPLEX], [yes], [float _Complex, double _Complex], [-1], [no]) # The complex*N tests are a bit different (note: the complex tests are # the same as all the rest, because complex is a composite of two