Check support for HDF5
Hello, I have been trying to compile LALSuite using minimal features and dropping HDF5. At this time, I have noticed that there are some errors triggered at compilation time, such as.
LALSimIMRPrecessingNRSur.c:525:9: error: call to undeclared function 'ReadHDF5LongMatrixDataset'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
ReadHDF5LongMatrixDataset(nodeModelers, sub_name, &(node_data->basisFunctionOrders));
^
LALSuite is able to start compiling even if I don't have HDF5 library installed. I am not familiar with autoconf, but is there some chance to add a check on that or arrange the code in this file?
Additionally, if using HDf5 ~ 1.14, I get such issues in the configure:
checking for fftw_execute_dft in -lfftw3... yes
checking for fftw3.h... yes
checking for h5cc... /opt/homebrew/bin/h5cc
checking for HDF5 type... serial
checking for HDF5 libraries... clang: error: unknown argument: '-show'
clang: error: unknown argument: '-show'
yes (version 1.14.3)
Edited by Marco Meyer