--- configure.orig 2025-05-21 17:09:19 UTC +++ configure @@ -3867,10 +3867,10 @@ MEDIMPORT_CMAKE_SO_REL=0 #Une modification de HDF_VERSION_NUM #demande une modification du test de version ds #med_check_hdf5.m4 -HDF_VERSION_REF=5-1.10.2 +HDF_VERSION_REF=5-1.10.11 HDF_VERSION_MAJOR_REF=1 HDF_VERSION_MINOR_REF=10 -HDF_VERSION_RELEASE_REF=2 +HDF_VERSION_RELEASE_REF=11 @@ -8491,9 +8491,9 @@ printf "%s\n" "#define ABSOLUTE_H5PUBLIC_H \"$gl_cv_ab HDF5_VERSION="0" if test -n "$HDF5_ABS_PATH" ; then HDF5_USED_VER=` grep H5_VERS_INFO $HDF5_ABS_PATH | sed 's/\([^"]*\)\(".*"\)\([^"]*\)/\2/g' ` - H5_VER_MAJOR=` grep '#define *H5_VERS_MAJOR' $HDF5_ABS_PATH | sed 's/^.*H5_VERS_MAJOR[ \t]*\([0-9]*\)[ \t]*.*$/\1/g' ` - H5_VER_MINOR=` grep '#define *H5_VERS_MINOR' $HDF5_ABS_PATH | sed 's/^.*H5_VERS_MINOR[ \t]*\([0-9]*\)[ \t]*.*$/\1/g' ` - H5_VER_RELEASE=`grep '#define *H5_VERS_RELEASE' $HDF5_ABS_PATH | sed 's/^.*H5_VERS_RELEASE[ \t]*\([0-9]*\)[ \t]*.*$/\1/g' ` + H5_VER_MAJOR=` grep '#define *H5_VERS_MAJOR' $HDF5_ABS_PATH | sed 's/^.*H5_VERS_MAJOR *\([0-9]*\).*$/\1/' ` + H5_VER_MINOR=` grep '#define *H5_VERS_MINOR' $HDF5_ABS_PATH | sed 's/^.*H5_VERS_MINOR *\([0-9]*\).*$/\1/' ` + H5_VER_RELEASE=`grep '#define *H5_VERS_RELEASE' $HDF5_ABS_PATH | sed 's/^.*H5_VERS_RELEASE *\([0-9]*\).*$/\1/' ` HDF5_VERSION=` expr 10000 \* ${H5_VER_MAJOR} + 100 \* ${H5_VER_MINOR} + ${H5_VER_RELEASE} ` test "0${HDF5_VERSION}" -gt "11100" || test "0${HDF5_VERSION}" -lt "11002" && as_fn_error $? " This HDF5 version ${H5_VER_MAJOR}.${H5_VER_MINOR}.${H5_VER_RELEASE} must not be used with med-fichier${MED_NUM_MAJEUR}.${MED_NUM_MINEUR}.${MED_NUM_RELEASE}. @@ -8547,14 +8547,14 @@ printf "%s\n" "#define ABSOLUTE_H5IPUBLIC_H \"$gl_cv_a # AC_CHECK_LIB([m],[sin],[],[AC_MSG_ERROR([Can't find C math library.])],[]) # AC_CHECK_LIB([z],[compress],[],[AC_MSG_ERROR([Can't find z library.])],[]) - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for H5open in -lhdf5" >&5 -printf %s "checking for H5open in -lhdf5... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for H5open in -lhdf5-110" >&5 +printf %s "checking for H5open in -lhdf5-110... " >&6; } if test ${ac_cv_lib_hdf5_H5open+y} then : printf %s "(cached) " >&6 else case e in #( e) ac_check_lib_save_LIBS=$LIBS -LIBS="-lhdf5 -lm -lz $LIBS" +LIBS="-lhdf5-110 -lm -lz $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -8594,10 +8594,10 @@ then : then : printf "%s\n" "#define HAVE_LIBHDF5 1" >>confdefs.h - LIBS="-lhdf5 $LIBS" + LIBS="-lhdf5-110 $LIBS" else case e in #( - e) as_fn_error $? "Can't find hdf5 library, either use HDF5HOME env. var. , --with-hdf5= or --with-hdf5-lib=" "$LINENO" 5 ;; + e) as_fn_error $? "Can't find hdf5-110 library, either use HDF5HOME env. var. , --with-hdf5= or --with-hdf5-lib=" "$LINENO" 5 ;; esac fi @@ -8618,7 +8618,7 @@ done if test "x$with_hdf5_include" = "xno"; then # Extract the first word of "h5dump", so it can be a program name with args. -set dummy h5dump; ac_word=$2 +set dummy h5dump-110; ac_word=$2 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_H5DUMP+y} @@ -8666,7 +8666,7 @@ fi else # Extract the first word of "h5dump", so it can be a program name with args. -set dummy h5dump; ac_word=$2 +set dummy h5dump-110; ac_word=$2 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_H5DUMP+y} @@ -8714,7 +8714,7 @@ fi fi if test "X$H5DUMP" = "Xno"; then - as_fn_error $? "Can't find h5dump, please verify your env. var. PATH or use of --with-hdf5bin=." "$LINENO" 5 + as_fn_error $? "Can't find h5dump-110, please verify your env. var. PATH or use of --with-hdf5bin=." "$LINENO" 5 fi @@ -8731,7 +8731,7 @@ fi #La ligne suivante est inutile car effectuée par AC_CHECK_PROG # AC_SUBST(H5DUMP) - HDF5_LIBS="-lhdf5" + HDF5_LIBS="-lhdf5-110"