vcpkg/ports/libfontenc/configure.ac.patch
Alexander Neumann 1f3914c769
[xwindow] part 4/N (#26576)
* [font-util] add port

* [libfontenc] add port

* [libfs] add port

* format manifest

* remove -string

* v db

* Update ports/font-util/build.patch

* v db

* use magic macro instead of magic numbers....

* v db
2022-09-19 12:08:27 -07:00

14 lines
508 B
Diff

diff --git a/configure.ac b/configure.ac
index cadc653a0..aa645af81 100644
--- a/configure.ac
+++ b/configure.ac
@@ -47,7 +47,7 @@ XORG_FONTSUBDIR([ENCODINGSDIR], [encodingsdir], [encodings])
# zlib
AC_CHECK_HEADER([zlib.h], [],
AC_MSG_FAILURE([zlib.h is required to compile libfontenc]))
-AC_CHECK_LIB(z, gzclose, [],
+AC_SEARCH_LIBS(gzclose, [z zlib zlibd], [],
AC_MSG_FAILURE([zlib is required to compile libfontenc]))
# Obtain compiler/linker options for depedencies