From 963e9d1da46b15e68ca33ce0287c02df0dd86bc3 Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Fri, 7 Nov 2003 19:59:17 +0000 Subject: [PATCH] The configure scripts show usage of zlib compression --- ChangeLog | 2 ++ configure | 6 +++++- configure.in | 3 ++- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 18474609..921f84fd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,6 +6,8 @@ v0.39.1 22-Oct-2003 general: Make dist now creates bzip2 archives. Two html pages are now under control of configure. + The configure scripts shows the use of zlib compression for + Hydra. upgrade: If you don't have any personal archivers, then remove diff --git a/configure b/configure index ceec72ef..f700191f 100755 --- a/configure +++ b/configure @@ -4461,7 +4461,9 @@ if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF - + ZLIBSUP=Yes +else + ZLIBSUP=No fi done @@ -10098,6 +10100,7 @@ echo "$as_me:$LINENO: result: Configuration summary : Version : ..................... ${VERSION} + Hydra zlib compression : ...... ${ZLIBSUP} " >&5 echo "${ECHO_T} -=-=-=-=-=-=-=-=-=-= Configuration Complete =-=-=-=-=-=-=-=-=-=- @@ -10105,6 +10108,7 @@ echo "${ECHO_T} Configuration summary : Version : ..................... ${VERSION} + Hydra zlib compression : ...... ${ZLIBSUP} " >&6 if test x$ac_cv_c_compiler_gnu = xyes ; then diff --git a/configure.in b/configure.in index 7e73908b..da67f6f3 100644 --- a/configure.in +++ b/configure.in @@ -126,7 +126,7 @@ fi AC_CHECK_LIB(z,compress2,result=yes,result=no) if test "$result" = "yes"; then LIBS="$LIBS -lz" - AC_CHECK_HEADERS(zlib.h) + AC_CHECK_HEADERS(zlib.h,ZLIBSUP=Yes,ZLIBSUP=No) fi dnl Checks for header files. @@ -285,6 +285,7 @@ AC_MSG_RESULT([ Configuration summary : Version : ..................... ${VERSION} + Hydra zlib compression : ...... ${ZLIBSUP} ]) if test x$ac_cv_c_compiler_gnu = xyes ; then