summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorScot Breitenfeld <brtnfld@hdfgroup.org>2024-03-07 11:34:55 (GMT)
committerGitHub <noreply@github.com>2024-03-07 11:34:55 (GMT)
commit9d8e8824964af3137b9e4cd400b9b45304fd86ef (patch)
treedb1a7d4d52b5bbca7e368356a12c96e0ec454d5c /configure.ac
parentfe5d0d5c535b34b20171d0d7540b11e11412755c (diff)
downloadhdf5-9d8e8824964af3137b9e4cd400b9b45304fd86ef.zip
hdf5-9d8e8824964af3137b9e4cd400b9b45304fd86ef.tar.gz
hdf5-9d8e8824964af3137b9e4cd400b9b45304fd86ef.tar.bz2
Added new H5E with tests. (#4049)
Added Fortran H5E APIs: h5eregister_class_f, h5eunregister_class_f, h5ecreate_msg_f, h5eclose_msg_f h5eget_msg_f, h5epush_f, h5eget_num_f, h5ewalk_f, h5eget_class_name_f, h5eappend_stack_f, h5eget_current_stack_f, h5eset_current_stack_f, h5ecreate_stack_f, h5eclose_stack_f, h5epop_f, h5eprint_f (C h5eprint v2 signature) Addresses Issue #3987
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index f945df5..bb75019 100644
--- a/configure.ac
+++ b/configure.ac
@@ -652,6 +652,8 @@ if test "X$HDF_FORTRAN" = "Xyes"; then
if test "X$HAVE_F2003_REQUIREMENTS" = "Xno"; then
AC_MSG_ERROR([Fortran compiler lacks required Fortran 2003 features; unsupported Fortran 2003 compiler, remove --enable-fortran])
fi
+ ## Checking if the compiler supports fortran character being allocatable
+ PAC_HAVE_CHAR_ALLOC
## --------------------------------------------------------------------
## Define wrappers for the C compiler to use Fortran function names
@@ -741,6 +743,10 @@ if test "X$HDF_FORTRAN" = "Xyes"; then
AC_DEFINE([FORTRAN_HAVE_SIZEOF], [1], [Define if we have Fortran intrinsic SIZEOF])
fi
+ if test "X$HAVE_CHAR_ALLOC_FORTRAN" = "Xyes"; then
+ AC_DEFINE([FORTRAN_HAVE_CHAR_ALLOC], [1], [Define if Fortran supports allocatable character])
+ fi
+
## See if C_LONG_DOUBLE is available
PAC_PROG_FC_HAVE_C_LONG_DOUBLE