From: Andy Green Date: Sun, 6 Mar 2011 13:37:10 +0000 (+0000) Subject: configure add requirement for zlib.h X-Git-Tag: 1.2~132 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a047d8582dd3858d4ba3f66622a805b9d6c429cc;p=profile%2Fivi%2Flibwebsockets.git configure add requirement for zlib.h Signed-off-by: Andy Green --- 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 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