Lines 183-188
Link Here
|
183 |
AC_MSG_CHECKING([whether the specified HDF library works]) |
183 |
AC_MSG_CHECKING([whether the specified HDF library works]) |
184 |
AC_LINK_IFELSE([AC_LANG_PROGRAM([], |
184 |
AC_LINK_IFELSE([AC_LANG_PROGRAM([], |
185 |
[[ |
185 |
[[ |
186 |
call h5fcreate_f |
186 |
use hdf5 |
|
|
187 |
character (len = 42) :: filename |
188 |
integer :: mode, hferr |
189 |
integer(hid_t) :: hfid |
190 |
call h5fcreate_f(filename, mode, hfid, hferr) |
187 |
]])], [abi_trio_hdf_has_libs="yes"], [abi_trio_hdf_has_libs="no"]) |
191 |
]])], [abi_trio_hdf_has_libs="yes"], [abi_trio_hdf_has_libs="no"]) |
188 |
AC_MSG_RESULT([${abi_trio_hdf_has_libs}]) |
192 |
AC_MSG_RESULT([${abi_trio_hdf_has_libs}]) |
Lines 250-256
Link Here
|
250 |
AC_LINK_IFELSE([AC_LANG_PROGRAM([], |
251 |
AC_LINK_IFELSE([AC_LANG_PROGRAM([], |
251 |
[[ |
252 |
[[ |
252 |
use netcdf |
253 |
use netcdf |
253 |
call nf90_open |
254 |
character (len = 42) :: filename |
|
|
255 |
integer :: status, mode, ncid |
256 |
status=nf90_open(filename, mode, ncid) |
254 |
]])], [abi_trio_netcdf_has_libs="yes"], [abi_trio_netcdf_has_libs="no"]) |
257 |
]])], [abi_trio_netcdf_has_libs="yes"], [abi_trio_netcdf_has_libs="no"]) |
255 |
AC_MSG_RESULT([${abi_trio_netcdf_has_libs}]) |
258 |
AC_MSG_RESULT([${abi_trio_netcdf_has_libs}]) |
256 |
fi |
259 |
fi |