summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Green <andy@warmcat.com>2011-03-06 13:37:10 +0000
committerAndy Green <andy@warmcat.com>2011-03-06 13:37:10 +0000
commita047d8582dd3858d4ba3f66622a805b9d6c429cc (patch)
tree73f79141eba30157f8f53b39ea06c73a5ccdb79d
parent775884edd2ba828606f44bf3ee4b4a25c3de7fa2 (diff)
configure add requirement for zlib.hdeflate-stream-support
Signed-off-by: Andy Green <andy@warmcat.com>
-rw-r--r--config.h.in3
-rwxr-xr-xconfigure2
-rw-r--r--configure.ac2
3 files changed, 5 insertions, 2 deletions
diff --git a/config.h.in b/config.h.in
index fae370e..e7dd31b 100644
--- a/config.h.in
+++ b/config.h.in
@@ -77,6 +77,9 @@
/* Define to 1 if `vfork' works. */
#undef HAVE_WORKING_VFORK
+/* Define to 1 if you have the <zlib.h> header file. */
+#undef HAVE_ZLIB_H
+
/* Define to the sub-directory in which libtool stores uninstalled libraries.
*/
#undef LT_OBJDIR
diff --git a/configure b/configure
index c39b140..5470e9b 100755
--- a/configure
+++ b/configure
@@ -12333,7 +12333,7 @@ fi
# Checks for header files.
-for ac_header in fcntl.h netinet/in.h stdlib.h string.h sys/socket.h unistd.h
+for ac_header in zlib.h fcntl.h netinet/in.h stdlib.h string.h sys/socket.h unistd.h
do :
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
diff --git a/configure.ac b/configure.ac
index c7d91b0..057f42c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -86,7 +86,7 @@ AM_CONDITIONAL(NOPING, test x$noping = xyes)
# Checks for header files.
-AC_CHECK_HEADERS([fcntl.h netinet/in.h stdlib.h string.h sys/socket.h unistd.h])
+AC_CHECK_HEADERS([zlib.h fcntl.h netinet/in.h stdlib.h string.h sys/socket.h unistd.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_TYPE_SIZE_T