From c6f812ec7fd5d972891fffaf16c1751beeaa5146 Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Mon, 20 Jun 2005 18:19:23 +0000 Subject: [PATCH] Changes from Craig Rasmussen: I'm contributing patches for configure.ac and f90_check_type.m4. The problem was that f90_check_type returned an exit code and not all compilers actually do this. The fix tries to compile the type and fails if it can't. The problem is that some compilers will happily return a default kind if the particular kind is not supported. So the real test is whether the size of the datatype is as expected. This commit was SVN r6101. --- config/f90_check_type.m4 | 6 ++---- configure.ac | 17 +++++++++-------- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/config/f90_check_type.m4 b/config/f90_check_type.m4 index e898687586..14a8b1f21f 100644 --- a/config/f90_check_type.m4 +++ b/config/f90_check_type.m4 @@ -23,7 +23,7 @@ AC_MSG_CHECKING([if FORTRAN compiler supports $1]) cat > conftestf.f90 <