diff options
author | Scot Breitenfeld <brtnfld@hdfgroup.org> | 2015-04-21 13:44:30 (GMT) |
---|---|---|
committer | Scot Breitenfeld <brtnfld@hdfgroup.org> | 2015-04-21 13:44:30 (GMT) |
commit | c88f2abea5c4295cd20564fede8b3010933c0e6f (patch) | |
tree | 031ffe05c0d38fa3e23522aa0e1fa06f093d8926 /configure | |
parent | aff66a3790e083fa13d05302a2191d6086268fc1 (diff) | |
download | hdf5-c88f2abea5c4295cd20564fede8b3010933c0e6f.zip hdf5-c88f2abea5c4295cd20564fede8b3010933c0e6f.tar.gz hdf5-c88f2abea5c4295cd20564fede8b3010933c0e6f.tar.bz2 |
[svn-r26860] Fixed sizeof checks.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -6534,21 +6534,27 @@ rm -f core conftest.err conftest.$ac_objext \ ## If neither intrinsic functions SIZEOF or STORAGE_SIZE is available then stop configure with an error - if test "X$HAVE_C_SIZEOF_FORTRAN" = "Xno" && test "X$HAVE_C_SIZEOF_FORTRAN" = "Xno"; then + if test "X$HAVE_SIZEOF_FORTRAN" = "Xno" && test "X$HAVE_STORAGE_SIZE_FORTRAN" = "Xno"; then as_fn_error $? "Fortran compiler requires either intrinsic functions SIZEOF or STORAGE_SIZE" "$LINENO" 5 fi + if test "X$HAVE_STORAGE_SIZE_FORTRAN" = "Xyes"; then $as_echo "#define FORTRAN_HAVE_STORAGE_SIZE 1" >>confdefs.h + fi + if test "X$HAVE_C_SIZEOF_FORTRAN" = "Xyes"; then $as_echo "#define FORTRAN_HAVE_C_SIZEOF 1" >>confdefs.h + fi + if test "X$HAVE_SIZEOF_FORTRAN" = "Xyes"; then $as_echo "#define FORTRAN_HAVE_SIZEOF 1" >>confdefs.h + fi ## Check to see if -r8 was specified to determine if we need to ## compile the DOUBLE PRECISION interfaces. |