summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <Alan.Coopersmith@sun.com>2005-07-15 00:50:30 +0000
committerAlan Coopersmith <Alan.Coopersmith@sun.com>2005-07-15 00:50:30 +0000
commitbdd6bc86322d8769390ce81e74a9c2da103e3533 (patch)
tree3e65114a9ac46e278b06feb7b47fdb80e6e16be5
parent30441ee004c0c23d42b76af09e58314aa2218fa3 (diff)
Add dependency on zlib
-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)