mirror of
https://github.com/TREX-CoE/trexio.git
synced 2025-04-25 18:04:44 +02:00
Fixed 'warning: The macro AC_HAVE_LIBRARY is obsolete.'
This commit is contained in:
parent
cd48a74fd7
commit
560f1880ee
@ -257,7 +257,7 @@ HDF5 support is being disabled (equivalent to --with-hdf5=no).
|
|||||||
AC_MSG_WARN([Unable to compile HDF5 test program])
|
AC_MSG_WARN([Unable to compile HDF5 test program])
|
||||||
fi
|
fi
|
||||||
dnl Look for HDF5's high level library
|
dnl Look for HDF5's high level library
|
||||||
AC_HAVE_LIBRARY([hdf5_hl], [HDF5_LIBS="-lhdf5_hl $HDF5_LIBS"], [], [])
|
AC_CHECK_LIB([hdf5_hl], [main],[HDF5_LIBS="-lhdf5_hl $HDF5_LIBS"], [], [])
|
||||||
|
|
||||||
CC=$ax_lib_hdf5_save_CC
|
CC=$ax_lib_hdf5_save_CC
|
||||||
CPPFLAGS=$ax_lib_hdf5_save_CPPFLAGS
|
CPPFLAGS=$ax_lib_hdf5_save_CPPFLAGS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user