summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index c94581e..408f7cd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -30,6 +30,9 @@ AM_CONFIG_HEADER(config.h)
AC_PROG_CC
AC_PROG_INSTALL
+AC_CHECK_LIB(z, gzopen, [],
+ [AC_MSG_ERROR([zlib is required, but was not found.])])
+
# Checks for pkg-config packages
PKG_CHECK_MODULES(DEP, fontenc freetype2)
AC_SUBST(DEP_CFLAGS)