Skip to content
Snippets Groups Projects
Commit 4fce996c authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

acx_options.m4: disable search of hdf5 function

parent 1d3029ee
No related branches found
No related tags found
2 merge requests!34Version 2.2.0,!31M214003/develop
......@@ -206,17 +206,17 @@ AS_IF([test "x$ENABLE_NC4SZLIB" = "xyes"],
[AC_SEARCH_LIBS([nc_def_var_szip], [netcdf],
[AC_DEFINE([HAVE_NC_DEF_VAR_SZIP],[1],[Define to 1 for NetCDF4 nc_def_var_szip support])],,[-lhdf5])])
AS_IF([test "x$ENABLE_NC4HDF5" = "xyes"],
[AC_SEARCH_LIBS([H5TS_mutex_lock], [netcdf],
[AC_DEFINE([HAVE_NC4HDF5_THREADSAFE],[1],[Define to 1 for NetCDF4/HDF5 threadsafe support])],,[-lhdf5])])
#AS_IF([test "x$ENABLE_NC4HDF5" = "xyes"],
# [AC_SEARCH_LIBS([H5TS_mutex_lock], [netcdf],
# [AC_DEFINE([HAVE_NC4HDF5_THREADSAFE],[1],[Define to 1 for NetCDF4/HDF5 threadsafe support])],,[-lhdf5])])
AS_IF([test "x$ENABLE_NC4HDF5" = "xyes"],
[AC_SEARCH_LIBS([H5get_libversion], [netcdf],
[AC_DEFINE([HAVE_H5GET_LIBVERSION],[1],[Define to 1 for H5get_libversion support])],,[-lhdf5])])
#AS_IF([test "x$ENABLE_NC4HDF5" = "xyes"],
# [AC_SEARCH_LIBS([H5get_libversion], [netcdf],
# [AC_DEFINE([HAVE_H5GET_LIBVERSION],[1],[Define to 1 for H5get_libversion support])],,[-lhdf5])])
AS_IF([test "x$ENABLE_NC4HDF5" = "xyes"],
[AC_SEARCH_LIBS([H5dont_atexit], [netcdf],
[AC_DEFINE([HAVE_H5DONT_ATEXIT],[1],[Define to 1 for H5dont_atexit support])],,[-lhdf5])])
#AS_IF([test "x$ENABLE_NC4HDF5" = "xyes"],
# [AC_SEARCH_LIBS([H5dont_atexit], [netcdf],
# [AC_DEFINE([HAVE_H5DONT_ATEXIT],[1],[Define to 1 for H5dont_atexit support])],,[-lhdf5])])
AC_SUBST([ENABLE_NETCDF])
AC_SUBST([ENABLE_NC2])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment