mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-02-17 16:50:18 +08:00
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:
commit
7cca66a61d
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user