[configure] check that zlib is installed

Summary: Infer won't compile without it.

Reviewed By: jberdine

Differential Revision: D5255391

fbshipit-source-id: c4aa78d
master
Jules Villard 8 years ago committed by Facebook Github Bot
parent ad7028cb49
commit 1d55fd5786

@ -234,8 +234,11 @@ _ACEOF
fi fi
AC_MSG_RESULT([$USER_JAVA_HOME]) AC_MSG_RESULT([$USER_JAVA_HOME])
AC_SUBST([USER_JAVA_HOME]) AC_SUBST([USER_JAVA_HOME])
fi
AC_CHECK_LIB([z], [inflateEnd], [ZLIB_FOUND=yes], [ZLIB_FOUND=no])
AS_IF([test x"$ZLIB_FOUND" = xno], [AC_MSG_ERROR([zlib not found.])])
fi
# end if($enable_java_analyzers)
AC_PATH_TOOL([ATDGEN], [atdgen], [no]) AC_PATH_TOOL([ATDGEN], [atdgen], [no])
AC_ASSERT_PROG([atdgen], [$ATDGEN]) AC_ASSERT_PROG([atdgen], [$ATDGEN])

Loading…
Cancel
Save