autoconf-archive-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug in m4/ax_lib_hdf5.m4, AX_LIB_HDF5


From: Harald Anlauf
Subject: Bug in m4/ax_lib_hdf5.m4, AX_LIB_HDF5
Date: Thu, 4 May 2023 21:01:39 +0200

Hello,

I thought I submitted this patch before, but never received a reply.

When analyzing the output from `h5fc -show', which e.g. on my Linux
system is

gfortran -I/usr/include -L/usr/lib64 -lhdf5hl_fortran -lhdf5_hl -lhdf5_fortran 
-lhdf5

one would like to put all options of type -Ldirectory into variable
HDF5_FLIBS (for the linking flags) instead of HDF5_FFLAGS (for the
compilation flags).

The cause of the issue seems to be a copy&paste error.

The attached trivial & obvious patch fixes this.

Feel free to use it.

Thanks,
Harald

Attachment: 0001-AX_LIB_HDF5-fix-derivation-of-compile-and-link-flags.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]