mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-29 14:27:42 +00:00
14 lines
320 B
Plaintext
14 lines
320 B
Plaintext
|
dnl
|
||
|
dnl Check for zlib
|
||
|
dnl
|
||
|
AC_CHECK_LIB(z, zlibVersion,
|
||
|
[ ZLIB_LIBS="-lz"
|
||
|
zlib_found=yes ],
|
||
|
[ zlib_found=no ],)
|
||
|
if test "$zlib_found" = "no"; then
|
||
|
AC_MSG_ERROR([Could not find the zlib library])
|
||
|
fi
|
||
|
AC_CHECK_HEADERS(zlib.h, , zlib_found=no)
|
||
|
|
||
|
AC_SUBST(ZLIB_LIBS)
|