summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorScot Breitenfeld <brtnfld@hdfgroup.org>2014-07-24 15:55:16 (GMT)
committerScot Breitenfeld <brtnfld@hdfgroup.org>2014-07-24 15:55:16 (GMT)
commitf793c50e4714166ddf02cce2380447d887356283 (patch)
treeef88dad2fda20ec6ee3b90c7303e55e52b8bc798 /configure
parentc85497442b4a228b6d636d59fb5e51a932933142 (diff)
downloadhdf5-f793c50e4714166ddf02cce2380447d887356283.zip
hdf5-f793c50e4714166ddf02cce2380447d887356283.tar.gz
hdf5-f793c50e4714166ddf02cce2380447d887356283.tar.bz2
[svn-r25477] Added error if Fortran's default real is double precision. If it is and HL is being built then configure returns an error. This is due to HDFFV-889.
Tested: jam with intel and -r8 flag, both with and without --disable-hl.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure9
1 files changed, 9 insertions, 0 deletions
diff --git a/configure b/configure
index dadfc3a..1e5e1bd 100755
--- a/configure
+++ b/configure
@@ -6906,6 +6906,8 @@ else
fi
+
+
## ----------------------------------------------------------------------
## Check if they would like the C++ interface compiled
##
@@ -30971,10 +30973,17 @@ if test "X$HDF5_HL" = "Xyes"; then
$as_echo "#define INCLUDE_HL 1" >>confdefs.h
+
+## Check if Fortran's default real is double precision. If it is and HL is being built then configure
+## should fail due to bug HDFFV-889.
+ if test "X$FORTRAN_DEFAULT_REALisDBLE" = "Xyes"; then
+ as_fn_error $? "Fortran high-level routines are not supported when the default REAL is DOUBLE PRECISION, use configure option --disable-hl." "$LINENO" 5
+ fi
else
echo "no"
fi
+
## ----------------------------------------------------------------------
## Some programs shouldn't be built by default (e.g., programs to generate
## data files used by tests, some optional tests).