summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorJeremy Huddleston Sequoia <jeremyhu@apple.com>2022-06-19 10:43:33 -0700
committerJeremy Huddleston Sequoia <jeremyhu@apple.com>2022-06-19 10:43:35 -0700
commit592c3d2b8f56679b35f2b8b97aeba3f8e3fb3b9e (patch)
treea0e713af98501c45261b4822485d85fa91fd2d20 /configure.ac
parent54b0411f06c4b84ae7efd110c7540edc688a991e (diff)
configure: Move check for zlib into its own section
This allows systems that don't have zlib.pc (eg: darwin) to build by specifying ZLIB_CFLAGS and ZLIB_LIBS in the build environment Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 7ff0bbb..ca64ddc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -52,7 +52,8 @@ fi
AC_CHECK_FUNCS([vasprintf])
# Checks for pkg-config packages
-PKG_CHECK_MODULES(MKFONTSCALE, fontenc freetype2 zlib)
+PKG_CHECK_MODULES(MKFONTSCALE, fontenc freetype2)
+PKG_CHECK_MODULES(ZLIB, zlib)
PKG_CHECK_MODULES(X11, [xproto >= 7.0.25])
dnl Allow checking code with lint, sparse, etc.