From d72085e200b18bdcd6a49a068d84329282fdd89a Mon Sep 17 00:00:00 2001 From: Mike McGreevy Date: Mon, 14 Nov 2011 10:24:19 -0500 Subject: [svn-r21752] Purpose: Revert part of r21421 (F2003 merge to 1.8) which unintentionally removed a line from configure.in that sets FC=no when fortran is not enabled. This ensures that configure doesn't run compiler checks on a fortran compiler when it won't be used. (and can cause failures in configure when no fortran compiler is present as well as issues with the resulting src/Makefile when building DLLs on Cygwin) Tested: h5committest; manually on jam & bangan (Cygwin). --- configure | 4 +++- configure.in | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/configure b/configure index e759650..1ae4d56 100755 --- a/configure +++ b/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Id: configure.in 21638 2011-10-21 15:55:40Z mamcgree . +# From configure.in Id: configure.in 21723 2011-11-06 22:19:14Z derobins . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.68 for HDF5 1.8.9-snap0. # @@ -6373,6 +6373,8 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi fi +else + FC="no" fi ac_ext=c diff --git a/configure.in b/configure.in index 2478739..1166091 100644 --- a/configure.in +++ b/configure.in @@ -552,6 +552,8 @@ if test "X$HDF_FORTRAN" = "Xyes"; then fi fi +else + FC="no" fi dnl Change back to the C language -- cgit v0.12