summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <Alan.Coopersmith@sun.com>2005-07-30 07:44:09 +0000
committerAlan Coopersmith <Alan.Coopersmith@sun.com>2005-07-30 07:44:09 +0000
commitf48651e9def8e9f7473f7dd15d38032c394edf9f (patch)
treefd81382690514a9d9bfa39550b1b012828a9fad2
parentb9e3ce8e6bfc63da09f78487452105265a5eb07d (diff)
Add missing library dependencies: Xdmcp: -lsocket (if needed for recvfrom,
such as on Solaris) lbxutil: -lz xkbui: -lm
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 85dc25f..edad913 100644
--- a/configure.ac
+++ b/configure.ac
@@ -47,6 +47,9 @@ AC_PROG_LIBTOOL
# Check for X
PKG_CHECK_MODULES(DEP, xextproto)
+AC_CHECK_LIB(z,deflate,[DEP_LIBS="${DEP_LIBS} -lz"],
+ AC_MSG_ERROR([zlib is required to build liblbxutil]))
+
AC_SUBST(DEP_CFLAGS)
AC_SUBST(DEP_LIBS)