Skip to content

Commit d30b612

Browse files
Adding a check for zlib.h header because it seems this check is needed even if the check for the corresponding library passes.
1 parent f0e7a47 commit d30b612

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

configure.ac

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ AM_CONDITIONAL([ENABLE_HTS], [test "x$enable_hts" = "xyes"])
5050

5151
dnl check for required libraries
5252
AC_CHECK_LIB([z],[zlibVersion])
53+
AC_CHECK_HEADERS([zlib.h], , [echo "Did not find zlib.h header"; exit -1])
5354

5455
AC_CONFIG_FILES([Makefile])
5556
AC_OUTPUT

0 commit comments

Comments
 (0)