Merge pull request #1406 from Unidata/update_szip_detection_autoconf.wif

Modified how libsz is being detected in automake-based builds.
This commit is contained in:
Ward Fisher 2019-06-17 14:54:56 -06:00 committed by GitHub
commit 7cca66a61d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1047,7 +1047,7 @@ if test "x$enable_hdf5" = xyes; then
# Check to see if we need to search for and link against szlib.
if test "x$ac_cv_func_H5Z_SZIP" = xyes; then
AC_SEARCH_LIBS([SZ_Compress], [szip sz], [],
AC_SEARCH_LIBS([SZ_BufftoBuffCompress], [szip sz], [],
[AC_MSG_ERROR([libhdf5 installed with szip support, but cannot find or link to the szip library.])])
fi