mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 03:10:57 +08:00
3880056be4
* [libzim] WIP * Control gtest * More fixes, test xapian * [xapian] Fix windows and mingw * dllexport * Finish PR * CI baseline * [xapian] Update supports * Fix arm64
24 lines
921 B
Diff
24 lines
921 B
Diff
diff --git a/configure.ac b/configure.ac
|
|
index ca5b7b2..b059402 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -870,6 +870,7 @@ case $enable_backend_chert$enable_backend_glass in
|
|
dnl
|
|
dnl Similarly for uuid support.
|
|
|
|
+ if false; then
|
|
dnl Check for zlib.h.
|
|
AC_CHECK_HEADERS([zlib.h], [], [
|
|
AC_MSG_ERROR([zlib.h not found - required for chert and glass (you may need to install the zlib1g-dev or zlib-devel package)])
|
|
@@ -879,6 +880,10 @@ case $enable_backend_chert$enable_backend_glass in
|
|
AC_SEARCH_LIBS([zlibVersion], [z zlib zdll], [], [
|
|
AC_MSG_ERROR([zlibVersion() not found in -lz, -lzlib, or -lzdll - required for chert and glass (you may need to install the zlib1g-dev or zlib-devel package)])
|
|
])
|
|
+ fi
|
|
+ PKG_CHECK_MODULES([ZLIB], [zlib], [],[AC_MSG_ERROR([zlib library not found])])
|
|
+ CFLAGS="$LIBS $ZLIB_CFLAGS"
|
|
+ LIBS="$ZLIB_LIBS $LIBS"
|
|
|
|
dnl Find a way to generate UUIDs.
|
|
|