configure add requirement for zlib.h
authorAndy Green <andy@warmcat.com>
Sun, 6 Mar 2011 13:37:10 +0000 (13:37 +0000)
committerAndy Green <andy@warmcat.com>
Sun, 6 Mar 2011 13:37:10 +0000 (13:37 +0000)
Signed-off-by: Andy Green <andy@warmcat.com>
config.h.in
configure
configure.ac

index fae370e..e7dd31b 100644 (file)
@@ -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
index c39b140..5470e9b 100755 (executable)
--- 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"
index c7d91b0..057f42c 100644 (file)
@@ -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