From adfdbdbd626696769d77a532e7c1f373fe304a5c Mon Sep 17 00:00:00 2001 From: adam Date: Wed, 30 Sep 2009 12:30:17 +0000 Subject: [PATCH] compatibility hdf 1.8.x --- salome_adm/unix/config_files/check_hdf5.m4 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/salome_adm/unix/config_files/check_hdf5.m4 b/salome_adm/unix/config_files/check_hdf5.m4 index 96afbc5ae..a065bff7b 100644 --- a/salome_adm/unix/config_files/check_hdf5.m4 +++ b/salome_adm/unix/config_files/check_hdf5.m4 @@ -86,6 +86,11 @@ then HDF5_MT_LIBS="$LOCAL_LIBS -lhdf5 $LOCAL_RLIBS" fi +if test "x$hdf5_ok" = "xyes" +then + HDF5_INCLUDES="$HDF5_INCLUDES -DH5_USE_16_API" +fi + AC_MSG_RESULT(for hdf5: $hdf5_ok) ])dnl -- 2.39.2