Attached is a minimal example that demonstrates the failure:

- empty main() in a .c that #include's hdf5.h (to confirm headers work)

- the ax_lib_hdf5.m4 macro from the current autoconf-archive package

- configure.ac with enough boiler plate to run the AX_LIB_HDF5 macro

- Makefile.am to compile main.c with configure's compiler and linker flags

- runme.sh to run through the auto* tools, then run configure and
make, and then clean up if that all worked.

When configure runs link tests on libhdf5 they will fail, but those
tests failing are not fatal for the configure script.  make will then
fail when linking for the same reason:  h5cc reports the wrong
LDFLAGS.

-Kipp

Attachment: minimal_example.tgz
Description: application/compressed-tar

Reply via email to